struts2.xml配置文件BUG 知道的的帮助一下

oppo4545 oppo4545 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
以下是我的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 -
...全文

相关推荐

评论 6
收藏 已收藏
分享
返回顶部
oppo4545
Java EE 67,535 成员 225,843 内容