2011/1/25 mikewse <mike...@hotmail.com>:
>
> Trying out a simple servlet on Tomcat 6 and 7:
(..)
> and sending a request:
>        GET /app

AFAIK, usually Tomcat will respond with 302 redirect to /app/ and the
second request will be GET /app/.  So, one question is why it is not
happening in your case. I suspect that it might be if there is no
welcome file at the root of the webapp.

> yields the following values on the request:
>        requestUri = "/app"
>        contextPath = "/app"
>        servletPath = ""
>        pathInfo = "/"
> This seems to violate the rule:
>        requestUri = contextPath + servletpath + pathInfo
> on page 28 of the Servlet 2.5 spec (pathInfo should be null).

Looks like it. Though I have never seen such requests - as said above.


Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to