Hi I'm using HttpClient on AppEngine using a simple hack found here: http://esxx.blogspot.com/2009/06/using-apaches-httpclient-on-google-app.html
It's basically a connection provider to HttpClient using Google's URLFetch service. This way you can still use the beloved HttpClient and (almost) all its power Sérgio http://www.caelum.com.br On 22 jun, 13:36, Lu <chenglu.annal...@gmail.com> wrote: > Hi, > > I am trying to use HttpClient to extract the urls. It works in normal > java application but not under the context of web application. > > HttpClient client = new HttpClient(); > GetMethod method = new GetMethod(url); > > I will get error says 'java.lang.NoClassDefFoundError: java.net.Socket > is a restricted class. Please see the Google App Engine developer's > guide for more details' > > Does that mean it conflicts with google app engine? > > Thanks -- 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 google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.