jQuery in Action, 3rd edition
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 string....how 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 java.sun.com tutorial on filters at http://java.sun.com/products/servlet/Filters.html
Hope that helps,
I agree. Here's the link: http://aspose.com/file-tools
subject: Capturing response from a post
It's not a secret anymore!