Re: How to redirect to a jsp

2006-09-12 Thread Bill Barker
"Romain Quilici" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, > this question seems simple, but I did not figure out how to answer it. > > In my web.xml I have defined a default servlet. So it can handle requests > that does not match other servlets pattern. > > D

Re: How to redirect to a jsp

2006-09-12 Thread James Rome
The easiest way would be to make a filter that decides what to do. It would intercept every web request and can then forward them as appropriate. Jim - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail:

Re: How to redirect to a jsp

2006-09-12 Thread Marc Farrow
Tim's solution is the easiest, but allow me to explain why your application is behaving that way. By specifying the following / You are saying that all requests that come into your application are to be forwarded to the servlet. Thus when you redirect to "/jsp/index.jsp" it is taking

Re: How to redirect to a jsp

2006-09-12 Thread Tim Funk
If I am reading this correctly, an "easier" solution would be to create an index.jsp at the root level that forwards to "/jsp/index.jsp" -Tim Romain Quilici wrote: Hi all, this question seems simple, but I did not figure out how to answer it. In my web.xml I have defined a default servlet. So

How to redirect to a jsp

2006-09-11 Thread Romain Quilici
Hi all, this question seems simple, but I did not figure out how to answer it. In my web.xml I have defined a default servlet. So it can handle requests that does not match other servlets pattern. DefaultServlet / Then in my DefaultServlet, I want to redirect to a jsp page, so