2019独角兽企业重金招聘Python工程师标准>>>  
这几天的页面重构终于快要结束了。
 最终页面架构选择了Sitemesh,经过昨天下午及今天上午的调试终于把Sitemesh下css、js问题解决了。
 使用Sitemesh总结以下几点:
 1、<decorator:head />放在 decorator页面的<script type="text/javascript" src="xxxx.sj">后面;
 2、如果 decoratord页面引入了jquery-x.x.js,则在要被 decorator的页面中去掉;
 3、由于我们在web.xml中配置了
<filter-mapping><filter-name>sitemesh</filter-name><url-pattern>/*</url-pattern>
</filter-mapping>故在<excludes>中要格外注意。
好了,先写到这里。感谢同事们的一起努力,合作!