This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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