Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
HTML Pages with CSS and JavaScript
Any JSP Timer
Johnny Lee
Greenhorn
Posts: 5
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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
Sheriff
Posts: 67746
173
I like...
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You'll need to handle this on the client side. Moving to the HTML/javascript forum.
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
Eric Pascarello
author
Posts: 15385
6
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
<body onload="settimeout(\"document.location.href='blah.jsp'\",5000)">
Yuriy Fuksenko
Ranch Hand
Posts: 413
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Since, as Eric always says, JavaScript could be disabled, it is better to use a meta tag for that
<meta http-equiv="refresh" content="5;url=next.page.url">
Eric Pascarello
author
Posts: 15385
6
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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
Posts: 5
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thank you guys, it works!!!
Don't get me started about those stupid
light bulbs
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
code help!!
Forwarding Pages in JSP
ServletContext problem
JSP Forward
best approach
More...