tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 51624] Request is not forwarded to servlet... goes to 404 instead.
Date Tue, 09 Aug 2011 08:10:54 GMT

--- Comment #10 from Pid <> 2011-08-09 08:10:54 UTC ---
> i see it, a relative path is one that is resolvable generally against an
> URI or File, which is the case of "" and ".", both valid paths denoting the
> "current" directory.

If "." is valid, Tomcat would deploy "." and it will also detect every
directory in "." (because it's the same as appBase) and separately, deploy them
as applications - each of those dirs is presumably missing a WEB-INF/web.xml,
which means that no security constraints are applied. The extra applications
take priority over the ROOT application (as they have a longer context path),
so any requests to resources in them would be unprotected.

Now please, join to the Tomcat Users list (not because I'm user, but because
*you* are) and we'll explain all of this to you, if you still don't understand
why you are wrong.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

View raw message