Hi -
I have the following basic code in my GAE project:
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();
The size of urlStr is about 292 chars in length.
The url.openStream() method call is failing to execute the method
(both in eclipse as well as online GAE). It shows the following
warning though.
24 May, 2010 6:17:40 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 (there were other posts on the related topic in this group
but there did not seem much resolution so have to raise this post
again).
Regards,
Preetham V V
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" 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-java?hl=en.