在web.xml加上
<taglib>
<taglib-uri>/struts-tags</taglib-uri>
<taglib-location>/WEB-INF/struts-tags.tld</taglib-location>
</taglib>
和将struts2-core-2.0.10.jar/META-INF/struts-tags.tld加到/WEB-INF/struts-tags.tld
<taglib>在web.xml中报错
web-app,taglib标签的放置位置已经发生改变,要放在<jsp-config>标签下
<jsp-config>
<taglib>
<taglib-uri>/struts-tags</taglib-uri>
<taglib-location>/WEB-INF/struts-tags.tld</taglib-location>
</taglib>
</jsp-config>
struts-tags.tld在WEB-INF下报错
<tlib-version>2.2.3</tlib-version>
2.2.3改为2.2
这个数字格式是X.Y,而不是X.Y.Z
具体见https://issues.apache.org/jira/browse/WW-3299
<taglib>
<taglib-uri>/struts-tags</taglib-uri>
<taglib-location>/WEB-INF/struts-tags.tld</taglib-location>
</taglib>
和将struts2-core-2.0.10.jar/META-INF/struts-tags.tld加到/WEB-INF/struts-tags.tld
<taglib>在web.xml中报错
web-app,taglib标签的放置位置已经发生改变,要放在<jsp-config>标签下
<jsp-config>
<taglib>
<taglib-uri>/struts-tags</taglib-uri>
<taglib-location>/WEB-INF/struts-tags.tld</taglib-location>
</taglib>
</jsp-config>
struts-tags.tld在WEB-INF下报错
<tlib-version>2.2.3</tlib-version>
2.2.3改为2.2
这个数字格式是X.Y,而不是X.Y.Z
具体见https://issues.apache.org/jira/browse/WW-3299