Subject: Re: ServletContext.getContextPath() 2007-10-04 - By Christopher Schultz
Back -- --BEGIN PGP SIGNED MESSAGE-- -- Hash: SHA1
Brendan,
Brendan MacLean wrote: > That's the conclusion I'd come to, but was hoping some Tomcat guru could > tell me different. Unfortunately, request.getContextPath() is not available > "before the first request" though this is indeed how we are initializing our > knowledge of this setting at the moment. Sounds like we'll have to wait > until we upgrade to Tomcat 6.0 to be able to get the information any > sooner....
I'm sure you can use JMX to sniff-out some of this information, but I get the feeling that would be a gigantic PITA.
- -chris
-- --BEGIN PGP SIGNATURE-- -- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHBRaM9CaO5/Lv0PARAifaAKCpUW6QhfVeQVpcHxwr4fgp/1aofgCeNggP KV1FrcNF5qzG8QvmWVOF8QM= =uqSQ -- --END PGP SIGNATURE-- --
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To start a new topic, e-mail: users@(protected) To unsubscribe, e-mail: users-unsubscribe@(protected) For additional commands, e-mail: users-help@(protected)
|
|