tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: ServletContext.getContextPath()
Date Thu, 04 Oct 2007 16:36:28 GMT
-----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@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message