Hi I have this same code I am trying to execute:
URL url = new URL(urlStr);
BufferedReader reader = new BufferedReader(new
InputStreamReader(url.openStream()));
String line;
while ((line = reader.readLine()) != null) {
System.out.println(line);
}
reader.close();
I get a no response and i also notice that the GET request is not
executed (I know because my service on the other side of the URL does
not kick start as well).
I get the following WARNING in the console though:
24 May, 2010 2:09:13 PM org.apache.commons.httpclient.HttpMethodBase
getResponseBody
WARNING: Going to buffer response body of large or unknown size. Using
getResponseBodyAsStream instead is recommended.
Kindly help.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.