-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul,

Paul Singleton wrote:
> For now, I'm using ServletRequest.getLocalAddr() on the
> first request and inferring deploy mode from that.

That seems pretty fragile, although I must admit that I can't
immediately think of a way to subvert it. I mean, I'm assuming that one
IP address is used for test and another for production, so using the
test-IP to try to make the production deployment act like test (oops)
probably wouldn't work.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGAbiS9CaO5/Lv0PARAiw6AJsEvVx9mWrwAWw72qUUueeN9b2jNgCdFtgn
NYq70m0p93KL0faxB8SeHoo=
=G6eQ
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to