Including a JSP Page Programatically
- by Tom Tucker
I need to include a JSP page in a Tag class. I believe the standard way to include a JSP page within another JSP page using API is this:
request.getRequestDispatcher("included.jsp").include(request, response);
However, I noticed that the included page is rendered at the top of the generated page, no matter where the code is located. On the other…