Hi Dima !!

HTTP - web servera
Firstly You Should check java.net package : HTTPUrlConnection -> set host ->
recieve HTTP Header

Mail
Download javaMail packege from SUN if i am not wrong if server is
unreachable exception is thrown

DB
If speed it is not critically You can simply wait for connection timeout in
JDBC Connection


Udachi
Valik

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Dimitrij Kisselev
Sent: Saturday, November 04, 2000 2:36 AM
To: [EMAIL PROTECTED]
Subject: Server Test


Hi everybody,

I am new on JSP/SERVLETS and I should write an JSP-Site/SERVLET or an Java
program, which should test if some servers are online (like ping or header
answer, if an request was ok) Web-, Mail- and Database-Server (Send then an
Mail). Can somebody help. Have somebody an sample.

Thx

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to