tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Crowther <>
Subject RE: Remote ip Address
Date Fri, 15 Feb 2008 09:25:05 GMT
> From: []
> 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

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:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message