This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes How do I redirect to Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How do I redirect to "login.jsp" after 5 seconds?" Watch "How do I redirect to "login.jsp" after 5 seconds?" New topic
Author

How do I redirect to "login.jsp" after 5 seconds?

luckay win
Ranch Hand

Joined: Sep 21, 2010
Posts: 36
Dear All,

How do I redirect to "login.jsp" after 5 seconds?

please help

thanks & regards
Luc
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Meta refresh?
luckay win
Ranch Hand

Joined: Sep 21, 2010
Posts: 36
you meant, if I want to redirect to login.jsp page .. it should be as follow:

<meta http-equiv="refresh" content="5;url=login.do" />
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How do I redirect to "login.jsp" after 5 seconds?
 
Similar Threads
wait several seconds before go to another page?
sending parameters through redirecting
Stay on JSP page for some time?
Timed JSP Redirect for Mobiles Phones.
Redirect after some time