File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes forward to different server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "forward to different server" Watch "forward to different server" New topic

forward to different server

henisk reader

Joined: Oct 18, 2003
Posts: 7
friends,i am facing problem with JSP forward option because there are three server installed at different location and i want to forward the
request to different server ,I can not use send redirect
how should i do this

Joined: Mar 18, 2004
Posts: 6
I don't think there is a way to dispatch the request to a different server. What you can do is to get the request parameters in the current page and pass them to the page on other server by GET method via sendRedirect() method. Ofcourse this only works with few parameters.
I agree. Here's the link:
subject: forward to different server
It's not a secret anymore!