I think what you're asking with setRemoteAddr() also doesn't make
sense from a protocol point of view ... what is a response without a
request?

On Thu, Feb 14, 2008 at 3:10 PM, Christopher Schultz
<[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
>  Hash: SHA1
>
>  Ksh,
>
>
>  [EMAIL PROTECTED] wrote:
>  | Is it possible to programatically direct a servlet response somewhere
>  | other than the remote ip address.
>
>  Not using the servlet container in any usual way. You could email the
>  response somewhere or something like that, or POST it to another URL or
>  whatever. I'm not sure why you'd want to do that, though.
>
>
>  | For instance, Is there a response.setRemoteAddr() or something similar.
>
>  No.
>
>
>  | My ultimate goal would be to, under certain conditions, direct the
>  | servlet response to a null ip 0.0.0.0
>
>  Do you mean that you simply want to discard the response? The proper way
>  to do that is to buffer any response you /might/ send, and then simply
>  do not send it at all if you decide not to.
>
>  Or, better yet, decide not to send the response before you actually
>  create it, thus avoiding all foolishness of that sort.
>
>  - -chris
>  -----BEGIN PGP SIGNATURE-----
>  Version: GnuPG v1.4.8 (MingW32)
>  Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
>  iEYEARECAAYFAke0ylMACgkQ9CaO5/Lv0PDDHACgl2bEPVoSW5xlUcluvrOc2pmm
>  N3AAoJI4FiyIGtgd/z/By9o1ATkzWpiV
>  =HSzf
>  -----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]
>
>

---------------------------------------------------------------------
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