Web tier: servlets, JSP, Web frameworks: dispatching correctly to jsp pages .
- Posted by: Michael Carter
- Posted on: January 25 2005 06:59 EST
I am facing a problem when dispatching from a servlet to a jsp page. Instead of seeing the page's response, its code is printed on the browser's window. My code is
RequestDispatcher dispatch = getServletContext().getRequestDispatcher(pageName);
and it causes no errors.
Any suggestions would be more than welcome!