Actions

Including JSP from Servlet

From Lunarpages Web Hosting Wiki

How do I include a JSP file from a servlet?

You can use the following code:

RequestDispatcher rd = request.getRequestDispatcher('include.jsp');
rd.include(request, response);