I am trying to invoke a URL ( on another server ) from my struts application. This URL returns a value. How do I capture the return value from the url.'
Thanks
-
Invoking a URL on another server. (1 messages)
- Posted by: Geetanjali Jain
- Posted on: April 21 2003 09:36 EDT
Threaded Messages (1)
- Invoking a URL on another server. by Web Master on April 21 2003 10:33 EDT
-
Invoking a URL on another server.[ Go to top ]
- Posted by: Web Master
- Posted on: April 21 2003 10:33 EDT
- in response to Geetanjali Jain
Open a URLConnection and get the InputStream. The return value should be in the stream.
InputStream is = new URL("http://...").openConnection().getInputStream();