Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

waiting/pause 1

Status
Not open for further replies.

yama

Programmer
Jun 28, 2001
69
SG
Hi everyone, does anyone know how to make a JSP page pause or wait for a number of seconds before redirecting the user to a new page?
 
This is an HTML issue. Use Meta-tags. Example:
Code:
<html>
<head>
   <META HTTP-EQUIV=&quot;REFRESH&quot; CONTENT=&quot;5;URL=/next.jsp&quot;>
</head>
<body>
</body>
</html>
The number represents the time in seconds to wait before redirecting to the specified page. Note, some older browsers (probably before IE/NS 4) may not support this feature.
The another choice is to use the onLoad method of Javascript but I find the above solution alot easier. Wushutwist
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top