Hi ALL,

I'm just trying to fetch url using following code:
======================
 PrintWriter out=response.getWriter();
 URLFetchService f=URLFetchServiceFactory.getURLFetchService();
                         HTTPResponse r=f.fetch(new 
URL("http://dummyurl.ccom/rss.xml";));
                         byte[] b=r.getContent();
                      for (byte c : b) {
                                 out.write((char)c);
                        }
=========================
And I'm getting following message with blank servlet response

Sep 9, 2009 8:17:07 PM org.apache.commons.httpclient.HttpMethodBase
getResponseBody
WARNING: Going to buffer response body of large or unknown size. Using
getResponseBodyAsStream instead is recommended.

Please recommend me the solution for this.

thanks
rag
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to