File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Dealing with timeout issues" Watch "Dealing with timeout issues" New topic

Dealing with timeout issues

Renato Losio
Ranch Hand

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


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

<meta contentttt="0; url=/c/portal/layout?p_l_id=1" http-equiv="refresh"&rt;
<body onLLLLoad="javascriptttt:location.replaceeee('/c/portal/layout?p_l_id=1')"&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.



Renato Losio - -
Renato Losio
Ranch Hand

Joined: Nov 23, 2005
Posts: 99
<meta contentTTT="0; url=/c/portal/layout?p_l_id=1" http-equiv="refresh">
<body onLLLoad="javascriptTT:location.replaceeee('/c/portal/layout?p_l_id=1')">
I agree. Here's the link:
subject: Dealing with timeout issues
It's not a secret anymore!