aspose file tools*
The moose likes Servlets and the fly likes Dealing with timeout issues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Dealing with timeout issues" Watch "Dealing with timeout issues" New topic
Author

Dealing with timeout issues

Renato Losio
Ranch Hand

Joined: Nov 23, 2005
Posts: 99
Dealing with timeout issues

Hello.

the index.html page of a J2EE is currently something like:

<html&rt;
<head&rt;
<meta contentttt="0; url=/c/portal/layout?p_l_id=1" http-equiv="refresh"&rt;
</head&rt;
<body onLLLLoad="javascriptttt:location.replaceeee('/c/portal/layout?p_l_id=1')"&rt;
</body&rt;
</html&rt;

Let's day that most (but not all) the error are controlled in the web.xml. I would like to add a generic friendly (static) page when the page is not loaded within a specified timeout interval. What's the best solution? web.xml? change the index.html? errorPage attribute in Jsp.

Thanks,

Renato


Renato Losio - www.arsenio.it - renatoweb@arsenio.it
Renato Losio
Ranch Hand

Joined: Nov 23, 2005
Posts: 99
<html>
<head>
<meta contentTTT="0; url=/c/portal/layout?p_l_id=1" http-equiv="refresh">
</head>
<body onLLLoad="javascriptTT:location.replaceeee('/c/portal/layout?p_l_id=1')">
</body>
</html>
 
Consider Paul's rocket mass heater.
 
subject: Dealing with timeout issues
 
Similar Threads
duplicate records
Handling Exception/Runtime Exception in JSF
html:rewite inconsistent behaviour
Problem with localization (MyFaces and JSTL)
How to run my own jsp file?