"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
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:
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
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
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