Most likely, you have enabled Google App Engine. GAE doesn't allow you to
open socket connections, which is why apache httpclient did not work. It
does allow URLConnection, which is why your second approach worked.
--Sri
On 21 June 2010 08:15, AgitoM wrote:
> As promised, here is the code tha
As promised, here is the code that finally did the trick for me.
The key was using the java.net.URL Object. This object does work when
compiled on the server side.
The code:
The relavant imports:
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
import java.ne
Managed to solve the problem. Used a different object to connect to
YAHOO.
Don't know why my first solution didn't work though.
I do not have access to my corrected code currently, but will post the
right solution here as soon as possible.
--
You received this message because you are subscribed
Over the past few days I have been working on a small GWT based
application which retrieves and displays Weather information from
YAHOO RSS in real time.
To get information from the YAHOO RSS feed, I am using the HttpClient
from the org.apache.commons library.
Using this library I attempt to make