struts2-struts1-plugin
官方文档
[url]http://struts.apache.org/release/2.3.x/docs/struts-1-plugin.html[/url]
在struts2环境下配置最简单的struts1 action
In the most simple case, where you have a Struts 1 Action that you want to use in Struts 2, configure a Struts 2 action using the wrapper:
[code="java"]
com.mycompany.myapp.MyAction
myAction.jsp
[/code]
访问的时候报错:
[code="java"]
严重: Exception occurred during processing request: null
java.lang.InstantiationException
at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
[/code]