Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Servlets and the fly likes Capturing response from a post Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Capturing response from a post" Watch "Capturing response from a post" New topic

Capturing response from a post

Sridhar Bhuvanapalli

Joined: Feb 27, 2002
Posts: 2
If I make a call to http://server_address/directory/login.asp
and that returns an XML would I go about making this call and capture the XML string.

Alexander Pantaleev

Joined: Jun 14, 2002
Posts: 5
Try using a filter, and a standing stream inside it. To be eligible for that, the filter and the .asp file have to be in the same context (which means that the .asp file has to be called through http://your_jsp_container/context_path/something.asp).
For information on filters and standing streams, you can check the tutorial on filters at
Hope that helps,
I agree. Here's the link:
subject: Capturing response from a post
It's not a secret anymore!