This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dealing with timeout issues

 
Renato Losio
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<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>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic