Hello R.J, you can't. The whole point of client-server communication is that the client tells the server what to do, not vice versa. There is no way a server can initiate communication to the client, at least not in HTTP.
option 1: when the client opens a session, don't send the response until you got all possible EAI messages. Then, include the messages in the response. Ignore the client info from the remote server, or use it only to filter out the messages for the client you are responding to. option 2: store the messages somewhere on the server. Have the clients poll for messages. Implement some cleanup code so the message store doesn't become a memory leak. I strongly suggest option 1. hope that helps, Roland Ryan julius <[EMAIL PROTECTED]> 16.12.2004 20:00 Please respond to "HttpClient User Discussion" To [email protected] cc Subject remote client communication HI, I am developing a web application using struts and tomcat. When a client opens a session with my application, any message (such as a warning) received from an EAI : i.e. a remote server, must be redirected to the appropriate client. The parameters of this client are IP, port & sessionId; and are provided by the remote server. How can I forward a page (ex. a warning message) to the remote client? Thanks very much for your help. R.J --------------------------------- D�couvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Cr�ez votre Yahoo! Mail
