tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <Craig.McClana...@eng.sun.com>
Subject Re: checking remore URL
Date Sat, 23 Dec 2000 04:55:11 GMT
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



Mime
View raw message