‘ProcessRequestServlet’ code...
HttpSession session = request.getSession(true);
session.putValue("home.banking.account", account);
("home.banking.servlets.DisplayBalanceServlet");
If the account is retrieved, it is put into a Session object and another servlet is called to display the result
Otherwise a servlet to display an error page is called
("home.banking.servlets.ErrorPageServlet");