tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 46131] for a root context getContextPath returns "/" after a forward
Date Wed, 05 Nov 2008 09:41:04 GMT

--- Comment #5 from Denny Strietzbaum <>  2008-11-05 01:41:00
PST ---
(In reply to comment #4)
> A path setting of "/" is invalid

I know that as i already said this setting is not correct (but it's clear what
is meant).
I don't want discussions about specifications.
Specifications must be kept and when they aren't an error or warning should be
It's easy to detected "/" as an invalid value and it's even easy to correct
this value automatically.

My motivation simply is that i wasn't responsible for that setting as our
server.xml gets generated by a build process which i haven't written.
I wouldn't have had lost so much time when Tomcat would let me know that
there's a problem with it's configuration.

On the other side that incorrect setting works (as getContextPath returns "")
as long is i don't do any forwards.
You can't say that this is a consistently behavior.

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