Advertisement
Guest User

Untitled

a guest
Nov 25th, 2015
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. public class GetClients extends HttpServlet {
  2.  
  3. private OperatorService operatorService;
  4.  
  5.  
  6. @Override
  7. protected void doGet(HttpServletRequest req, HttpServletResponse resp)
  8. throws ServletException, IOException {
  9. req.getParameter("clients");
  10. List <ClientPO> clients = operatorService.getClients();
  11. req.setAttribute("clients", clients);
  12. RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("getClients.jsp");
  13. dispatcher.forward(req, resp);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement