Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class GetClients extends HttpServlet {
- private OperatorService operatorService;
- @Override
- protected void doGet(HttpServletRequest req, HttpServletResponse resp)
- throws ServletException, IOException {
- req.getParameter("clients");
- List <ClientPO> clients = operatorService.getClients();
- req.setAttribute("clients", clients);
- RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("getClients.jsp");
- dispatcher.forward(req, resp);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement