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



Copyright © 2018 CodesJava DMCA.com Protection Status SiteMap