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 Thu, 21 Dec 2000 18:24:42 GMT
Zsolt Koppany wrote:

> I use tomcat but I think it must be done over the http protocol?
>

Check out the java.net.URLConnection class, which lets you connect to remote
servers.  If you try to access a non-existent page, you will get a
java.io.FileNotFoundException back.

>
> Zsolt
>

Craig McClanahan

Mime
View raw message