Skip to content

Commit

Permalink
Invite Patient Servlet
Browse files Browse the repository at this point in the history
  • Loading branch information
ms@Nicro authored and ms@Nicro committed Jan 8, 2024
1 parent 34bb9d0 commit 6da5ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/controller/InvitePatient.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ protected void doPost(HttpServletRequest request, HttpServletResponse response)
HttpSession session = request.getSession();
model.service.registration.Registration registration=new Registration();
registration.invitePatient((Integer) session.getAttribute("id"), request.getParameter("email"), request.getParameter("nome"), request.getParameter("cognome"));
response.sendRedirect("JSP/homeTherapist.jsp");
response.sendRedirect(request.getContextPath() + "/JSP/homepageTherapist.jsp");
}

}

0 comments on commit 6da5ba4

Please sign in to comment.