码迷,mamicode.com
首页 >  
搜索关键字:sitemesh应用    ( 2个结果
decorators.xml的用法
简介: sitemesh应用Decorator模式,用filter截取request和response,把页面组件head,content,banner结合为一个完整的视图。通常我们都是用include标签在每个jsp页面中来不断的包含各种header, stylesheet, scripts an ...
分类:其他好文   时间:2017-12-04 23:40:11    阅读次数:282
sitemesh使用
在WEB-INF--lib下导入sitemesh的jar包web.xml中添加如下代码<!--sitemesh--> <filter> <filter-name>sitemesh</filter-name> <filter-class>com.opensymphony.sitemesh.webapp.SiteMeshFilter</filter-class> </filter> <filter-..
分类:其他好文   时间:2015-04-09 20:11:29    阅读次数:155
2条  
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!