| Author |
Forward from one servlet to another servlet!!
|
Ravi Kumar Ravuru
Ranch Hand
Joined: Apr 18, 2002
Posts: 176
|
|
Hello Folks, I have two webapps on two servers.Can i forward the request,response of a servlet present in one server to the servlet present on another server.Is it Possible.Awaiting ur reply. Regards, Ravi
|
 |
Rangarajan Suresh
Ranch Hand
Joined: Jan 08, 2002
Posts: 50
|
|
Originally posted by Ravi Kumar R.S: Hello Folks, I have two webapps on two servers.Can i forward the request,response of a servlet present in one server to the servlet present on another server.Is it Possible.Awaiting ur reply. Regards, Ravi
Hi, you can not forward the request to a servlet on a diff server, since only relative paths are allowed in getRequestDispatcher and getContext. Probably, you can add an alias for the servlet on the other m/c in one of the servers and forward the request to that alias.
|
 |
 |
|
|
subject: Forward from one servlet to another servlet!!
|
|
|