原文:No result defined for action action.LoginAction and result success 问题解决

转自:https: blog.csdn.net dongzhout article details 搭建好SSH 框架,写一个简单的登陆功能,提交表单的时候遇到这个问题: 配置文件如下: web.xml: html view plain copy print lt xmlversion . encoding UTF gt lt web appversion . xmlns http: java. ...

2016-08-26 12:05 0 1671 推荐指数:

查看详情

No result defined for action

在开发中总遇到这个问题,但一直不知是何因,今天在同事的博客里看到才明白其因: No result defined for action: 原因:Action中的属性值为空的时候,Struts2的默认拦截器会报错,但是又找不到input的Result,不能够把错误返回,所以报这种错误。 解决 ...

Wed Dec 31 18:44:00 CST 2014 0 4858
SSH出错之-- No result defined for action

No result defined for action ---- 一、错误原因 这个错误可能是由很多原因引起的 1)可能是输入的变量为空值 输入的变量为空值,action会转到input里去,input又没有。错误。 2)配置文件写错了 二、输入的变量为空值 ...

Tue Nov 12 21:06:00 CST 2013 0 3221
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM