tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Crowther <Peter.Crowt...@melandra.com>
Subject RE: Remote ip Address
Date Fri, 15 Feb 2008 09:25:05 GMT
> From: ksh95@yahoo.com [mailto:ksh95@yahoo.com]
> Is it possible to programatically direct a servlet response
> somewhere other than the remote ip address.
> For instance, Is there a response.setRemoteAddr() or
> something similar.
>
> My ultimate goal would be to, under certain conditions,
> direct the servlet response to a null ip 0.0.0.0

If you want to swallow output under certain conditions, why not use a Filter or Valve?  Much
easier than trying to redirect output.

(And in answer to your original question: no.)

                - Peter

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