CodesJava

Easy learning with example program codes

Can we call a jsp from the servlet?


Yes, we can call a jsp from the servlet using RequestDispatcher interface for example:

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

Related topics

Please follow and like us:


Copyright © 2019 CodesJava DMCA.com Protection Status SiteMap Reference: Java Wiki