Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
- try {
- ArrayList<Pacient> allPacients = modelData.getAllPacients();
- req.setAttribute("allPacients", allPacients);
- } catch (SQLException e) {
- e.printStackTrace();
- }
- RequestDispatcher requestDispatcher = req.getRequestDispatcher("/view/pacientList.jsp");
- requestDispatcher.forward(req, resp);
- }
Advertisement
Add Comment
Please, Sign In to add comment