How to Rederect a jsp page
Put this code inside the <head> .
<META HTTP-EQUIV="Refresh" CONTENT="0; URL=login.do">
Example :
<html>
<head><title>Simple jsp page</title>
<META HTTP-EQUIV="Refresh"
CONTENT="5; URL=login.do"></head>
<body>Please wait...</body>
</html>
Note : The number "5;" means the current page will wait that amount of seconds before loading the login page.
Put this code inside the <head> .
<META HTTP-EQUIV="Refresh" CONTENT="0; URL=login.do">
Example :
<html>
<head><title>Simple jsp page</title>
<META HTTP-EQUIV="Refresh"
CONTENT="5; URL=login.do"></head>
<body>Please wait...</body>
</html>
Note : The number "5;" means the current page will wait that amount of seconds before loading the login page.
No comments:
Post a Comment