Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need to pass data to a servlet and pass that on

 
Ray Smilgius
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Need help.
I need to pass data from a browser to a servlet which will foward that request on to a remote server then it will return a response to the servlet invoked which will build the page for the client
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13056
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like you don't really want to forward the request in the usual sense, because you want the response to come back to the servlet. Absolutely nothing prevents you from using a URL to address another server and fake a browser request.
Bill

------------------
author of:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic