租用的虛擬主機用的是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>