wood burning stoves 2.0*
The moose likes Servlets and the fly likes Need to pass data to a servlet and pass that on Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Need to pass data to a servlet and pass that on" Watch "Need to pass data to a servlet and pass that on" New topic
Author

Need to pass data to a servlet and pass that on

Ray Smilgius
Ranch Hand

Joined: Jan 29, 2001
Posts: 120
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


SCJO, SCJD, SCWCD, I-Net+, A+, Network+, MCSD, MCDBA, MCP, MCT
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12760
    
    5
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:
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Need to pass data to a servlet and pass that on
 
Similar Threads
servlet to jsp
swing concept
Passing Data through Streams
Storing arraylist of hashmaps in session
HTTP POST