I have a jsp page in which im using <jsp:include src="support.jsp"/>.
My server is one machine and my testing location is another machine; but when i access this page and at that time if my server machine is kept 'shutdown' or my 'tomcat' has not started; I have to show an error message; instead of support.jsp page.
However in some case the server machine may take some time to respond; at that time we have to wait untill we receive the response.
Only when the server machine is totally down or 'shutdown' i have to show error message.
Please help me out in this how to deal with this issue.