首页 > 其他 > 详细

No result defined for action cn.crm.action.LinkManAction and result input

时间:2018-04-03 20:25:54      阅读:195      评论:0      收藏:0      [点我收藏+]

这是struts2的一个拦截器报的错误,当你的form中的数据有问题,比如说
<input type="text" name="receiverLoginID" value="<%=name%>"/>
当 name值为NULL时,就出这个错了,所以你可以在当前页面加入以下标签
<div style="color:red">
    <s:fielderror />
</div>
它就会显示拦截器的错误,并在struts的XML中对应action里加如
<result name="input">/当前页面</result>
错误信息就会返回到该页面了

No result defined for action cn.crm.action.LinkManAction and result input

原文:https://www.cnblogs.com/cn-chy-com/p/8710889.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!