tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morten S. Mortensen" <>
Subject Q: Mismatch request-URI vs. servlet-path in TC 5.0.XX
Date Thu, 19 Aug 2004 13:57:28 GMT

Hi all,

Can it really be, that the newer TC 5.0.25 and 5.0.27 breaks the formula

requestURI = contextPath + servletPath + pathInfo
(Servlet 2.4 specification, page 38)


My TC sets some really weird request-info like .e.g on a request upon
the URL "http://localhost:8080/Oginok_Prime/" I get the request-values -

*** requestURI: /Oginok_Prime/
*** servletPath: /index.html
*** pathInfo: null

Obviously, the request-URI does *not* contain the servlet-path. 

Request upon the URL "http://localhost:8080/Oginok_Prime/" should
however result in a HTTP-redirect to the browser at the URL
"http://localhost:8080/Oginok_Prime/index.html", but this is a different
request, which the engine somehow mixes with the current request.

To the best of my knowledge, this stuff functions correctly within the
TC 4.1.XX-series.

Am I the only one seeing this?

Morten Sabroe Mortensen

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message