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...?
Friday, May 31, 2002 04:25 AM
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.netpackage. 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">JavaNetworking Overview for a brief explanation.
An easier way of reading HTTP web pages would be using a complete HTTP client such asthe Jakarta Commons HTTP Clientor Ronald Tschalär's HTTP Client.I personally prefer Ronald Tschalär's HTTP Client. A quick explanation on how to use it isavailable here.
Hope that helps,Chris
Wednesday, May 29, 2002 06:53 AM