A method to load a web page...?
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Wednesday, May 29, 2002 06:36 AM

Hello everybody :)


I wonder if there is a method in Java language which can load a web page.


Thanx, in advance :))

Re: A method to load a web page...?

Posted By:   Christian_Ey  
Posted On:   Friday, May 31, 2002 04:25 AM

Hi Nicolas,



You might want to have a look at the href="http://java.sun.com/j2se/1.4/docs/api/java/net/package-summary.html">java.net
package. There reside the classes to handle URL connections directly; refer to the href="http://java.sun.com/j2se/1.4/docs/guide/net/overview/overview.html#locating">Java
Networking Overview for a brief explanation.



An easier way of reading HTTP web pages would be using a complete HTTP client such as
the Jakarta Commons HTTP Client
or Ronald Tschalär's HTTP Client.
I personally prefer Ronald Tschalär's HTTP Client. A quick explanation on how to use it is
available here.



Hope that helps,

Chris

Re: A method to load a web page...?

Posted By:   Anonymous  
Posted On:   Wednesday, May 29, 2002 06:53 AM

Could you be a little more specific???
About | Sitemap | Contact