在web.xml加入taglib <taglib><taglib-uri>/WEB-INF/tiles.tld</taglib-uri><taglib-location>/WEB-INF/tiles.tld</taglib-location></taglib> 始终会报错 原因是对于2.4的web-app,taglib标签的放置位置已经发生改变,要放在<jsp-config>标签下 <jsp-config><taglib><taglib-uri>/WEB-INF/tld/struts-layout.tld</taglib-uri><taglib-location>/WEB-INF/tld/struts-layout.tld</taglib-location></taglib></jsp-config> 即可。</jsp-config>
web.xml加入taglib报错
最新推荐文章于 2018-04-10 08:59:16 发布