No result defined for action and result input
来源:互联网 发布:远程桌面端口设置 编辑:程序博客网 时间:2024/05/06 22:18
这是struts2的一个拦截器报的错误,当你的form中的数据有问题,比如说
<input type="text" name="receiverLoginID" value="<%=name%>"/>
当 name值为NULL时,就出这个错了,所以你可以在当前页面加入以下标签
<div style="color:red">
<s:fielderror />
</div>
它就会显示拦截器的错误,并在struts的XML中对应action里加如
<result name="input">/AddProducts.jsp</result>
让他把错误返回到该页面就可以了
<input type="text" name="receiverLoginID" value="<%=name%>"/>
当 name值为NULL时,就出这个错了,所以你可以在当前页面加入以下标签
<div style="color:red">
<s:fielderror />
</div>
它就会显示拦截器的错误,并在struts的XML中对应action里加如
<result name="input">/AddProducts.jsp</result>
让他把错误返回到该页面就可以了
0 0
- No result defined for action *Action and result input - action -
- No result defined for action and result input - action
- No result defined for action action.UploadAction and result input
- No result defined for action *Action and result input
- No result defined for action action.UploadAction and result input
- No result defined for action action.UserAction and result input
- No result defined for action ....Action and result input
- No result defined for action and result input(笔记)
- struts2 No result defined for action.....and result input
- No result defined for action and result input -...
- No result defined for action and result input
- No result defined for action and result input
- No result defined for action and result input
- No result defined for action and result input
- No result defined for action and result input
- No result defined for action and result input
- No result defined for action and result input
- 404:No result defined for action and result input
- 老婆我会好好照顾你的!
- 自定义结果类型(result的type属性)
- 程序语言设计(第二天学习)
- private,protected,public,static 作用域
- JVM调优总结: GC相关概念及GC的监控
- No result defined for action and result input
- 完全无锁的并行计算集合
- 【J2EE】J2EE简介
- Poj_2069_Super Star(模拟退火算法)
- 知识图谱的库
- WIN7系统32位或者64位运行ARCENGINE报错的解决方法
- Android四大基本组件介绍与生命周期
- Linux下Nginx1.8安装
- Service与Thread