Jan.Luehe_at_Sun.COM wrote:
> I think the right thing would have been for the container to issue a
> redirect to
> "http://localhost:8080/HelloWorldWebApp/", which would have been matched
> by your servlet-mapping of the form "/*", resulting in these return values:
>
> request.getPathInfo() = "/"
> request.getRequestURI() = "/HelloWorldWebApp/"
> request.getRequestURL() = "http://localhost:8080/HelloWorldWebApp/"
>
> Paul and Uday, would you agree?
>
Either a redirect or a 404 makes sense to me.
My experience with redirection with Jersey is that developers like to
control the support, some want it off. Originally i had redirection
support turned on, but developers complained so i turned it off by default.
Thanks,
Paul.
--
| ? + ? = To question
----------------\
Paul Sandoz
x38109
+33-4-76188109