Struts2——No result defined for action and result input
来源:互联网 发布:知微数据 编辑:程序博客网 时间:2024/06/04 18:52
今天在提交表单时,Struts2提示 No result defined for action actions.EmployeeAction and result input - action - 错误。
原因:
该错误表示你的Action的配置文件内没有一个name为input的结果。这个input结果是Struts2定义的当验证参数出错时产生的默认结果。这说明你传递给Action的参数值与Action中的属性可能存在不匹配。
解决方法:
1、仔细检查参数名称与Action中的属性名称是否相等
2、仔细检查参数值的类型与Action中的属性类型是否匹配
阅读全文
0 0
- Struts2——No result defined for action and result input - action错误
- No result defined for action action and result input 解决办法——struts2 文件上传
- struts2 No result defined for action.....and result input
- Struts2:No result defined for action XXX and result input
- [SSH]Struts2 -- No result defined for action and result input
- struts2 no result defined for action xxxx and result input
- Struts2——No result defined for action and result input
- Struts2——No result defined for action and result input
- 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
- Struts2异常:No result defined for action cn.itcast.oa.struts2.action.DepartmentAction and result input
- Struts2 异常:no result defined for action result input
- Struts2疑难--No result defined for action com.marry.action.HqsyAction and result input
- 用scikit-learn和pandas学习线性回归
- JavaScript基础—复选框的全选和反选
- JEESZ-kafka消息服务平台实现
- 【Codeforces587E】Duff as a Queen
- Springmvc+mybatis+shiro+Dubbo+ZooKeeper+Redis+KafKa j2ee分布式架构
- Struts2——No result defined for action and result input
- 以太坊加速区块同步方法
- python拆分含有多种分隔符的字符串
- Keras: Theano-based Deep Learning library
- 洛谷P1455 搭配购买
- java实现人脸识别源码【含测试效果图】——Servlet层(FaceServlet)
- Android 文件及文件夹操作
- 【Codeforces815D】Karen and Cards
- windows下nginx安装、配置与使用