| Author |
Any JSP Timer
|
Johnny Lee
Greenhorn
Joined: Jul 15, 2004
Posts: 5
|
|
I have a logon page. Upon successful verification, I want to direct the user to a welcome page, after 5 seconds forward to another page. Is there any way JSP can achieve this? Let say make a countdown when t=0 <forward page="anotherpage.html"/>?
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56179
|
|
|
You'll need to handle this on the client side. Moving to the HTML/javascript forum.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
|
<body onload="settimeout(\"document.location.href='blah.jsp'\",5000)">
|
 |
Yuriy Fuksenko
Ranch Hand
Joined: Feb 02, 2001
Posts: 413
|
|
Since, as Eric always says, JavaScript could be disabled, it is better to use a meta tag for that
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
|
That is true....Right now my mind is set on JavaScript....trying to get my book done and over with. (last week of edis)
|
 |
Johnny Lee
Greenhorn
Joined: Jul 15, 2004
Posts: 5
|
|
Thank you guys, it works!!!
|
 |
 |
|
|
subject: Any JSP Timer
|
|
|