Resin新版本和siteMesh水土不服?

租用的虚拟主机用的是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>

posted on 2005-09-21 06:48 Scud(飞云小侠) 阅读(976) 评论(3)  编辑  收藏 所属分类: 其他

评论

# re: Resin新版本和siteMesh水土不服? 2005-09-21 11:52 scud(飞云小侠)

现在又好了,好像一更新top,bottom相关的文件就会出现问题

  回复  更多评论   

# re: Resin新版本和siteMesh水土不服? 2005-09-30 18:38 scud(飞云小侠)

最后发现是另外一个web app老出错导致的

但是为什么会互相影响,就不知道了... :(  回复  更多评论   

# 我的webwork2.2.4 sitemesh装饰的时候也出问题 2006-10-24 15:20 cjy

我的webwork2.2.4 sitemesh装饰的时候也总是出问题,经过了sitemesh的装饰器,就有可能一些页面显示不完整,经过测试发现,有得时候去掉一段html时候,又正常了,郁闷死了。。。。。有的页面莫名其妙的显示不完整,或者前面少一段,或者后面少一段。。。。。。。。。!!!!!!!!极度郁闷啊。。是不是一个大bug啊,还是那里配置的问题啊  回复  更多评论   


只有注册用户登录后才能发表评论。


网站导航:
 
<2005年9月>
28293031123
45678910
11121314151617
18192021222324
2526272829301
2345678

导航

统计

公告

文章发布许可
创造共用协议:署名,非商业,保持一致

我的邮件
cnscud # gmail


常用链接

留言簿(15)

随笔分类(113)

随笔档案(103)

相册

友情链接

技术网站

搜索

积分与排名

最新评论

阅读排行榜

评论排行榜