0 votes
in Servlet by
Can you call a jsp from the servlet?

1 Answer

0 votes
by

Yes, one of the way is RequestDispatcher interface for example:

RequestDispatcher rd=request.getRequestDispatcher("/login.jsp");  

rd.forward(request,response);  

Related questions

0 votes
asked Apr 11, 2023 in Servlet by john ganales
0 votes
asked Apr 11, 2023 in Servlet by john ganales
...