Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

forward to different server

 
henisk reader
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
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
 
TV KUMAR
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic