On Oct 17, 2011, at 6:02 PM, Christopher Schultz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Nathan,
On 10/17/2011 8:56 PM, Nathan Potter wrote:
I don't see how to do it without using a rewrite rule for every
thing in the top level collection of URL's. I think if you try to
rewrite the root of the context that it's going to disable other
services you have running.
Note that Tomcat maps DefaultServlet to "/" and not to "/*". You could
try that mapping to see if the JSP stuff clears up. You really
shouldn't need to re-map *.jsp.
I seem to be exploring the set of all possible mapping permutations.
When you change the mapping to "/" from "/*" the methods
HttpServletRequest.getPathInfo() and
HttpServletRequest.getPathTranslated() change their output from a
useful string to null. Additionally the
HttpServletRequest.getServletPath() method which has somewhat
different semantics when the mapping is "/" rather than "/*".
The web application uses all three of those methods and not very
flexible in the way that it does so.
Nathan
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk6c0A8ACgkQ9CaO5/Lv0PB12ACgl9m85VUJg0V8p29xBPNtSitD
Y9AAoI0aBURjb3cxlL23uwpI6s7HxNUQ
=wytw
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
= = =
Nathan Potter ndp at opendap.org
OPeNDAP, Inc. +1.541.231.3317
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org