tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Remote ip Address
Date Mon, 18 Feb 2008 19:37:43 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ksh,

ksh95@yahoo.com wrote:
|> If you want to swallow output under certain conditions, why not use
|> a Filter or Valve?  Much easier than trying to redirect output.
|
| Are you referring to filters and valves as defined in the server.xml?
| If so, I was hoping to solve the problem programatically so as to
| promote portability...is this at all possible?

Filters are portable, while Valves are Tomcat-only.

Honestly, this all comes down to how you decide to suppress the
response, and if you still need to run the target servlet even when no
response will be emitted.

- -chris

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

iEYEARECAAYFAke53ocACgkQ9CaO5/Lv0PDULACfbogRIZ1+W3Y/jLtiN77bJ6pA
laYAn1Lx9XlZZCJtDii057PW47sq1Jba
=WepF
-----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