I have a problem regarding servlet communication. I have two servlets
in my system but on different servers and they have to be that way. Say one
servlet on myserver1 is a 'server' and other one on myserver2 is
'client'. I want to send a request containing username-password pair from
'client'servlet to 'server' servlet. If client gets authenticated, I want to
send a stream to the client.

The scenario works fine with RequestDispatcher.include with both
servlets running on same server but I don't want them on same server. I
think I have to use HttpURLConnection but I am not sure. Could anyone please
throw some light on this issue?


________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to