租用的虚拟主机用的是resin, Server: Apache/1.3.33 (Unix) Resin/3.0.14 PHP/4.3.11
用sitemesh结果修饰页面总是有问题啊
1.启动后页面第一次访问正确
2.第二次后include的left和bottom页面内容没了,奇怪的是top的内容还在
现象:
1.首页的bottom没了
http://www.jscud.com/2.子页面的left,bottom没了 ,例如
http://www.jscud.com/product/cnjira/ http://www.jscud.com/center/webwork/filedown.jsp 等等
但是部分子页面的left,bottom还在...太奇怪了
紧急求助啊........
注:在我机器上一切正常,就是服务器上不对啊
装饰页面类似如下:
<%@ page contentType="text/html; charset=GB2312"%>
<%@ taglib uri="jscud" prefix="jscud" %>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=GB2312">
<title>JScud Develop -- <decorator:title default="Welcome to JScud" /></title>
<link href="<jscud:contextpath />/public/css/jscud.css" rel="stylesheet" type="text/css">
<decorator:head />
</head>
<body>
<!-- global width -->
<table border="2" width="778" cellspacing="0" bgcolor="#f0f0f0" bordercolorlight="#f0f0f0" bordercolordark="#f0f0f0" align=center>
<tr>
<td width="100%" height="5"></td>
</tr>
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr >
<td width="100%" >
<jsp:include page="/public/include/top.jsp" flush="true" />
</td>
</tr>
<tr>
<td >
<!-- body -->
<decorator:body />
<!-- body end -->
</td>
</tr>
<tr>
<td width="100%" height=5> </td>
</tr>
</table>
</td>
</tr>
</table>
<jsp:include page="/public/include/bottom.jsp" flush="true" />
</body>
</html>