-
1. Re: 503 Service Unavailable
schaefera Nov 21, 2001 12:40 AM (in response to jodokus)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.
Check:
- 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 -
2. Re: 503 Service Unavailable
jodokus Nov 24, 2001 12:28 PM (in response to jodokus)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 -
3. Re: 503 Service Unavailable
jodokus Nov 25, 2001 12:14 PM (in response to jodokus)I figured out, that my ant caused the problem.