At 10:59 AM 7/26/00 +0530, [EMAIL PROTECTED] wrote:
>Hi all,
>
>I have a servlet S1 running on one machine (say Host1). I have another
>servlet S2 on another machine (Host2).
>A client sends a request(R1) to the servlet S1. S1, after doing validations,
>has to forward the request to S2 on Host2.
>Initially, I used the RequestDispatcher's forward() but without any success.
>Later, I found that this interface works
>only if the servlets are in the same VM.
>
>As an alternative, I used the HttpURLConnection to open a connection. But
>this too has not been successful. I'm still exploring other possibilities.
>
>Could any one suggest any solutions ?

Use HttpServletResponse.sendRedirect()

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to