All About Symbian - Nokia (S60) and Sony Ericsson (UIQ) smartphones unwrapped

  #1  
Old 30-06-2003, 01:51 PM
c.oza c.oza is offline
Registered User
 
Join Date: Jun 2003
Posts: 4
c.oza is on a distinguished road
Http Connection Problem

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

Bookmarks

Tags
connection, http, problem

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT. The time now is 07:31 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright Notes || Contact Us || Privacy Policy