SiteMesh:关于decorators.xml配置文件中路径设置的问题
来源:互联网 发布:淘宝复制店铺 编辑:程序博客网 时间:2024/05/22 03:14
SiteMesh:关于decorators.xml配置文件中路径设置的问题
在配置decorators.xml中的标签时发现子标签中装饰器页的page属性不能以“/”开头。
例如:
会使系统出现如下异常:
java.lang.RuntimeException: javax.servlet.ServletException: File "/decorators/main.jsp" not found com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator.render(BaseWebAppDecorator.java:40) com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:84) org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:102) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
但对于其下的非装饰器页标签中的page属性却没有此限制(有没有“/”均可)。不知道是不是SiteMesh的Bug。为了方便起见,所有标签均不在路径前加“/”。
- SiteMesh:关于decorators.xml配置文件中路径设置的问题
- Sitemesh 自定义decorators.xml 文件路径
- sitemesh中的decorators.xml的用法
- sitemesh中的decorators.xml的用法
- 使用sitemesh的decorators功能
- 动态设置SSIS中,配置包的xml配置文件路径
- web.xml中如何设置配置文件的加载路径
- 关于web项目web.xml配置文件路径的问题。
- Struts2+sitemesh 在decorators page 中获取参数值的3种方式
- sitemesh/decorators装饰器与jsp页面中include的区别
- decorators.xml的用法
- decorators.xml的用法
- decorators.xml的用法
- decorators.xml的用法
- decorators.xml的用法
- struts的decorators.xml
- decorators.xml的用法
- decorators.xml的用法
- Zenoss Core Network and System Monitoring
- 基于 Django 框架 Web 开发
- Games on Symbian OS: A Handbook for Mobile Development
- Oracle数据库中如何选择合适的索引类型
- 免费正版杀毒软件集合 有你需要的
- SiteMesh:关于decorators.xml配置文件中路径设置的问题
- Testing Code Security
- 游戏纹理类
- C# Programming Interview Questions, Answers, and Explanations: Programming C# Certification Review
- SQL Server索引管理之六大铁律
- Intrusion Detection Systems (Advances in Information Security)
- 海鸥乔那坦
- JSP九大内置对象
- Joomla! Cash