HI Christopher, thanks for the response.

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


I'm not sure I follow you here. POST is an http request...how would that 
prevent a http response.


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

Exactly

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

But wouldn't that tie up memory?

| Or, better yet, decide not to send the response before you actually
| create it, thus avoiding all foolishness of that sort.

That would be excellent, although I'm not sure how I would go about choosing 
not the send the response. Would I have to hack the source code.

Thanks


      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


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