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);  

...