Take a look at URLFetch:

http://code.google.com/appengine/docs/java/urlfetch/overview.html



On Tue, Jun 22, 2010 at 9:36 AM, Lu <[email protected]> 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
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>


-- 
Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine

-- 
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