• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to check whether a url is working or not?  RSS feed

 
Faiz Ahmed
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

How is this question JSP related? (You have posted it in the JSP forum)

With pure java, you would
1) Open a HTTPUrlConnection to the desired URL
2) Set the request method to GET
3) Connect
4) Check the response code.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!