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.'
- Posted by: Geetanjali Jain
- Posted on: April 21 2003 09:36 EDT
Open a URLConnection and get the InputStream. The return value should be in the stream.
InputStream is = new URL("http://...").openConnection().getInputStream();