> ----- Original Message ---- > From: Peter Crowther <[EMAIL PROTECTED]> > To: Tomcat Users List <users@tomcat.apache.org> > Sent: Friday, February 15, 2008 4:25:05 AM > Subject: RE: Remote ip Address > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > 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. >
Hi Peter, 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? ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]