-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Terrence,
On 2/9/12 5:16 PM, Terence M. Bandoian wrote: > On 1:59 PM, Christopher Schultz wrote: >> Is it safe to simply remove everything after the initial ";" if >> I'm not interested in any path parameters? I don't want to just >> trim-off that kind of thing blindly if there are any gotchas that >> I should be aware of. > > What about using HttpServletRequest.getServletPath()? That's a damned good question. I'll have to read more into the docs to see what that's supposed to do. In a simple test, it seems that I get everything I want except that I have to re-add the context path to the beginning of the URI, which isn't a big deal. If Tomcat has already done the work for me, why not use it? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk80TkEACgkQ9CaO5/Lv0PC1SACfWWE831aTOL9BOwZqw9ulA/u2 MVIAoJwk7gUuqMyOh0HhpndBnV23IaUw =DFNl -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org