How do I call a URL from my code?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Tim_Smiser
Posted On:   Monday, August 27, 2001 08:34 AM

I'm am trying to make a call to a URL from my code as a triggering mechanism, and I can't seem to make my code make the call. This is what I've tried:



URL u = new URL( "http://some_url" );

URLConnection uc = u.getConnection();

uc.connect();




Any help would be greatly appreciated. Thanks.



Tim Smiser

Re: How do I call a URL from my code?

Posted By:   AlessandroA_Garbagnati  
Posted On:   Monday, August 27, 2001 11:11 AM

Tim,

Try searching for "URLConnection" among the FAQs and the Forum's Threads. You will find a lot of examples, comments and suggestions.
About | Sitemap | Contact