View Full Version : Http Connection Problem.


c.oza
30-06-2003, 01:50 PM
Hi Everyone,

I am using P800 and trying to make an Http connection using java.net.URL class.

the code looks like this,

..

URL url = new URL("someUrl");
URLConnection uc = url.openConnection();
uc.setDoOutput(true);
uc.setDoInput(true);
InputStream ip = uc.getInputStream();

..

The url which I am trying to get connected is reachable using the browser,
but when i am using in my personal java application, it gives me connection timed out exception..

Does any one have a clue about it ?

Thanks,

Chintan.

Edgedale
03-07-2003, 09:48 AM
Malebuffy can answer you that.

Btw, i will help you to move this thread to Symbian Java group.