对于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>
不同的版本对元素的顺序要求不同。