Hello forum,

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);
dispatch.include(request, response);

and it causes no errors.

Any suggestions would be more than welcome!

Thank you

Michael