spring+struts2整合,做了一个用户登陆的测试程序,附下配置文件片段
<constant name="struts.objectFactory" value="spring"/>
<package name="struts-config" namespace="/" extends="struts-default">
<act
<result name="frame">/frame.jsp </result>
</act
</package>
</struts>
但提交表单后报的如下500错误,如果直接写class="com.system.actionLoginAction"可以执行
Unable to instantiate Act
com.opensymphony.xwork2.Defaul
首次整合struts2+spring 提交表单后报的500错误
最新推荐文章于 2018-08-30 15:13:11 发布