aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 12675
    
    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:


Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need to pass data to a servlet and pass that on
 
Similar Threads
Storing arraylist of hashmaps in session
HTTP POST
Passing Data through Streams
swing concept
servlet to jsp