在使用zkdemo的时候,发现再web.xml中配置的index.html静态页面中不知道怎么就跳到/userguide/index.zul这个页面,

在仔细观察中发现index.html静态页面中有一句<meta HTTP-EQUIV="REFRESH" content="0; url=userguide/">

0秒刷新到url/userguide/然后再加上web.xml中配置的index.zul页面,这样的话就直接跳转到了/userguide/index.zul页面了

eg:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="refresh" content="1000"> 
<title>隔1000秒刷新当前页面</title>
</head>
<body>
</body>
</html>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="refresh" content="3;url=http://www.xxxx.com">
<title>隔3秒刷新到http://www.xxxx.com</title>
</head>
<body>
</body>
</html>