Right now I would guess it is a problem with path how you access your JSP pages.
You use relative paths to access to JSP pages. By using the RequestDispatcher the Servlet and JSP pages must be deployed within the same application. Then the use of the relative path teh JSP pages must be on the same path the Servlet was.
- call your servlet
- replace the SERVLET NAME with either "presentation1.jsp" or the other JSP pages
If this fails then your path to the JSP pages is not correct.
Whenever you want to access a JSP page in another application you cannot use the RequestDispatcher. You have to use either HttpServletResponse.sendRedirect() or use the browser.
Have fun - Andy
Thanks Andreas !
Hope you had a nice happy turkey day.
As you guessed I have a problem with the path to the JSP's.
How can I correct it? Do I have to specify the path somewhere or have the JSP in a special folder ?
My JSP and Servlet are in one application.
Thanks in advance, Kai
I figured out, that my ant caused the problem.