Zsolt Koppany wrote:

> Thank you for the idea Craig but java.net.URLConnection is an abstract
> class, how can I do that?

    URL url = new URL("http://www.yahoo.com");
    URLConnection conn = url.openConnection();

There are more comprehensive examples in the Java Language Tutorial's networking
trail, at <http://java.sun.com/docs/books/tutorial>.

>
> Zsolt
>

Craig


Reply via email to