This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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