This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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>
 
wood burning stoves
 
subject: Dealing with timeout issues
 
Similar Threads
Handling Exception/Runtime Exception in JSF
Problem with localization (MyFaces and JSTL)
How to run my own jsp file?
duplicate records
html:rewite inconsistent behaviour