页面自己跳转

来源:互联网 发布:红楼梦网络名词 编辑:程序博客网 时间:2024/06/07 10:01

 

<html>

  <head><title>XXXXXXX</title></head>

  <body onload="parent.location='http://localhost:8080/XXXXXXXXX/home.html'"> 

</body>

</html>

 

 

 

onload="parent.location=' http://fdsfdsfd' "

 

 

struts2 blank

<head>
    <META HTTP-EQUIV="Refresh" CONTENT="0;URL=example/HelloWorld.action">
</head>

 

 

Examples

Place inside <head> to refresh page after 5 seconds:

<meta http-equiv="refresh" content="5" />

Redirect to http://example.com/ after 5 seconds:

<meta http-equiv="refresh" content="5;url=http://example.com/" />

Redirect to http://example.com/ immediately:

<meta http-equiv="refresh" content="0;url=http://example.com/" />

原创粉丝点击