[quote]
<filter-class>中struts2-core-2.13以后的版本如下:之前的为:
[color=red]org.apache.struts2.dispatcher.FilterDispatcher[/color]
[/quote]
[quote]
[/quote]
[quote]
有些时候,<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>会报错,错误提示为:
Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"
解决此问题的方法为以下:
在WEB-INF/lib里加入
jstl.jar
standard.jar两个包即可解决这个问题
[/quote]
[quote]
,<%@ taglib prefix="c" uri="/struts-tags" %>会报错,错误提示为:
Can not find the tag library descriptor for "/struts-tags"
struts-core-xxx.jar包不是struts2的需要在web中配置:
[/quote]
[quote]
启动服务jetty或tomcat时报异常:
java.lang.IncompatibleClassChangeError: Implementing class
说明有重复的jar包。。。去除重复 ok
[/quote]
<filter-class>中struts2-core-2.13以后的版本如下:之前的为:
[color=red]org.apache.struts2.dispatcher.FilterDispatcher[/color]
[/quote]
[quote]
<filter>
<filter-name>struts2</filter-name>
<filter-class>
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
</filter-class>
<init-param>
<param-name>config</param-name>
<param-value>struts-default.xml,struts-plugin.xml,/../config/struts.xml</param-value>
</init-param>
</filter>
[/quote]
[quote]
有些时候,<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>会报错,错误提示为:
Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"
解决此问题的方法为以下:
在WEB-INF/lib里加入
jstl.jar
standard.jar两个包即可解决这个问题
[/quote]
[quote]
,<%@ taglib prefix="c" uri="/struts-tags" %>会报错,错误提示为:
Can not find the tag library descriptor for "/struts-tags"
struts-core-xxx.jar包不是struts2的需要在web中配置:
<jsp-config>
<taglib>
<taglib-uri>/struts-tags</taglib-uri>
<taglib-location>/WEB-INF/lib/struts-core-1.3.10.jar</taglib-location>
</taglib>
</jsp-config>
[/quote]
[quote]
启动服务jetty或tomcat时报异常:
java.lang.IncompatibleClassChangeError: Implementing class
说明有重复的jar包。。。去除重复 ok
[/quote]