@Override
  protected void doGet(HttpServletRequest request, HttpServletResponse response)
      throws ServletException, IOException {
    response.setContentType("text/html");
    response.setStatus(HttpServletResponse.SC_OK);

    PrintWriter writer = response.getWriter();

    try {
      String name = request.getParameter("name");
      String phone = getPhone(name);

      if (phone != null) {
        editNumber(writer, name, phone, request);
      } else {
        listAll(request, response);
      }
    } catch (PersistenceException e) {
      throw new ServletException(e);
    }
  }
The view data store.
<code>null</code> indicates that the view properties should be used instead of the data store.
ambari-views/examples/phone-list-view/src/main/java/org/apache/ambari/view/phonelist/PhoneListServlet.java