No result defined for action com.frank.action.RegistAction and result success
为action添加上命名空间即可
<?xml version="1.0" encoding="GBK"?>
<!DOCTYPE struts PUBLIC"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN""http://struts.apache.org/dtds/struts-2.3.dtd">
<struts><constant name="struts.i18n.encoding" value="GBK"/><package name="lee" extends="struts-default" <span style="color:#FF0000;">namespace="/"</span>><!-- 用户注册的Action --><action name="regist" class="com.frank.action.RegistAction"><!-- 类型转换失败、输入校验失败,转入input对应的视图 --><result name="input">/index.jsp</result><result>/WEB-INF/show.jsp</result></action><action name="*"><result>/WEB-INF/content/{1}.jsp</result></action></package>
</struts>
No result defined for action com.frank.action.RegistAction and result success相关推荐
- struts2中报错404 No result defined for action com.jcrj.ahsfjd.ajgl.JdshAction and result input解决方法...
今天写项目中遇到404 No result defined for action com.jcrj.ahsfjd.ajgl.JdshAction and result input错误,以前没有遇到过, ...
- No result defined for action
有时候会碰到No result defined for action,可是我明明没啥问题啊.原因可能是以下几个: 1.Action中的属性值为空的时候,Struts2的默认拦截器会报错,但是又找不到i ...
- Struts 2.x No result defined for action 异常
这是我跑struts2的第一个例子,跑的也够郁闷的,这个问题烦了我几个钟... 2011-5-10 10:10:17 com.opensymphony.xwork2.util.logging.comm ...
- No result defined for action com.lk.IndexAction and result success
意图访问一个 /es/index.action 竟然出现: [SAE ] ERROR [05-11 13:54:32] [http-80-5] com.opensymphony.xwork2.util ...
- 【SSH进阶】No result defined for action **的解决方案
最近在做办公自动化的项目,用的框架是SSH,在SSH整合的时候遇到了这样的问题. No result defined for action cn.itcast.oa.view.action.RoleA ...
- Struts2 Problem Report: No result defined for action ... and result exception
每 当Struts2爆出这样的异常,会很郁闷,原因太多了,只能一一的检查.有的说input页面没指定,有的说namespace有问题,有的说你对应的result有问题,有的说validate不通 ...
- struts2 上传文件 HTTP Status 404 - No result defined for action.....and result input
2019独角兽企业重金招聘Python工程师标准>>> struts2 在使用jqeury Ajax上传文件时报HTTP Status 404 - No result define ...
- validators配置要点及No result defined for action报错解决方案
在做JavaEE SSH项目时,接触到validators验证. 需要了解validators配置,或者遇到No result defined for action 这个错误时,可查阅本文得到有效解决 ...
- struts2中No result defined for action xxx.xxx.xxx and result xxx错误的几种解决方法
首先先说一下No result defined for action xxx.xxx.xxx and result xxx这个错误 action后跟的是你的action名称 result是返回值错误, ...
最新文章
- gradle build connection reset or protocol_version build failure
- 功能强大的 C++ redis 客户端库增加至 acl 项目中
- es6 新增数据类型Symbol
- ue4 开发动作游戏_【图片】第三人称动作游戏开发日志【虚幻4吧】_百度贴吧
- GCC和MSVC的INITIALIZER的实现
- 思科路由器NAT配置详解(转)
- Linux 离线安装 docker-componse,防止网络出现问题
- Vue 报错Error: No PostCSS Config found解决办法
- Qt之解决error: member access into incomplete type ‘UI::XXX‘
- 【转载】总结C#获取当前路径的7种方法
- ListBox横向绑定数据
- 软件项目实施方案介绍
- 直播app开发中视频编码标准发展史
- 20190404 Informatic 学习一
- 微信小程序|样式布局篇
- 关于手动误删表空间文件出现ora01033解决办法
- faster-rcnn参数介绍
- 中国电信翼支付网关接口接入
- 读懂这三个关键词,就明白迅雷链为什么受开发者欢迎
- Matlab图形绘制(一)三维曲线