File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes General Computing and the fly likes Checking a URL is up or not. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "Checking a URL is up or not." Watch "Checking a URL is up or not." New topic
Author

Checking a URL is up or not.

Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1527
How can I check if a weburl is up and running or if it is down?


Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
Vinod Tiwari
Ranch Hand

Joined: Feb 06, 2008
Posts: 459
    
    1
How do you want to check it? through some program?


Vinod Tiwari | Twitter
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11417
    
  16

Akhilesh Trivedi wrote:How can I check if a weburl is up and running or if it is down?

i'd enter it in my browser and see if the web page comes up.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
 
wood burning stoves
 
subject: Checking a URL is up or not.