Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Help > Re: how can i c...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 15984 of 16085
Post > Topic >>

Re: how can i check that a page is up?

by Alex.From.Ohio.Java@[EMAIL PROTECTED] Apr 17, 2008 at 12:12 PM

On Apr 17, 11:33 am, RedGrittyBrick <RedGrittyBr...@[EMAIL PROTECTED]
>
wrote:
> Trace wrote:
> > Hi in the past i was using the followng code below to check if a
> > server was up and if it was to call a jsp...
> > However the jsp now resides to my server so there is no point really
> > of chekcing if it is up to call it ..
> > So how can i check that the specific page
>
> > e.ghttp://server.com:8100my.jspis
up??
>
> I'd use
HttpUrlConnection.http://java.sun.com/docs/books/tutorial/networking/urls/readingWritin...
>
> --
> RGB

Yes. And here is example how you can do this:

http://www.exampledepot.com/egs/java.net/ReadFromURL.html

Alex.
http://www.myjavaserver.com/~alexfromohio/




 3 Posts in Topic:
how can i check that a page is up?
Trace <Panos100m@[EMAI  2008-04-17 07:39:42 
Re: how can i check that a page is up?
RedGrittyBrick <RedGri  2008-04-17 16:33:56 
Re: how can i check that a page is up?
Alex.From.Ohio.Java@[EMAI  2008-04-17 12:12:16 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 3:30:51 CDT 2008.