以下是我的struts2.xml配置文件
<action name="login" class="userAction" method="login">
<!--这一行一直出现 错误(报红的)然后我把redirectAction改为redirect-Action就不所红了
然后重启服务开始加载struts2.xml时在控制台就出现错误
-->
<result type="redirectAction">findAll.action</result>
<result name="input">/page/login.jsp</result>
</action>
错误提示如:There is no result type defined for type 'redirect-Action' mapped with name 'success'. Did you mean 'redirectACtion'? - result -
<action name="login" class="userAction" method="login">
<!--这一行一直出现 错误(报红的)然后我把redirectAction改为redirect-Action就不所红了
然后重启服务开始加载struts2.xml时在控制台就出现错误
-->
<result type="redirectAction">findAll.action</result>
<result name="input">/page/login.jsp</result>
</action>
错误提示如:There is no result type defined for type 'redirect-Action' mapped with name 'success'. Did you mean 'redirectACtion'? - result -
解决方案 »
- Unable to instantiate Action, userAction, defined for 'userAction' in namespace
- hibernate outer join 的问题,解决立马结贴
- jquery动态添加的button如何对其添加事件响应?
- 从系统中导入一个zip包
- 如何理解Session
- 要获得一个外部页面上的全部超连接应该怎么实现啊?在线等,急!
- struts+hibernate 的问题!求助
- 银联接口调用
- 求 Together ControlCenter6.1的注册机
- 绝好的工作机会
- 如何在SSH2框架中,完成用户注册后,创建用户文件夹的功能?
- hql语句错误
class="userAction"是从Spring窗口加载过来的..没有影响