HttpSession session = request.getSession();
AddressBean address = new AddressBean();
address.setFirst(request.getParameter("first"));
address.setLast(request.getParameter("last"));
session.setAttribute("antipatterns.address", address);
RequestDispatcher dispatcher =
getServletContext().getRequestDispatcher("/AddressView.jsp");
dispatcher.forward(request, response);