Action中五个常量解释,(success,error,input,login,none)
Action中五个常量解释,(success,error,input,login,none)
英文注释 | 中文释义 | |
---|---|---|
staticString ERROR | The actionexecution was a failure. Show an error view, possibly asking theuser to retry entering data. | Action执行失败。显示一个错误的视图(页面),这个页面可以要求用户再次输入相关数据。 |
staticString INPUT | The actionexecution require more input in order to succeed. This result istypically used if a form handling action has been executed so as toprovide defaults for a form. The form associated with the handlershould be shown to the end user.This result is also used if the given input params are invalid,meaning the user should try providing input again. | Action的执行成功需要更多的输入。这个结果是一个典型的结果,它表明如果一个表单通过提供默认的表单来操作一个Action。这个表单会显示给最终用户。这个结果也用于用户输入无效,意味着用户需要再次输入 |
static StringLOGIN | The actioncould not execute, since the user most was not logged in. The loginview should be shown. | Action不能执行,因为用户没有登录。已登录的画面会被关闭。 |
staticString NONE | The actionexecution was successful but do not show a view. This is useful foractions that are handling the view in another fashion likeredirect. | Action执行成功,但是不会显示一个视图。通常产生这种情况的原因是被其他视图重定向了。 |
staticString SUCCESS | The actionexecution was successful. Show result view to the enduser. | Action执行成功。显示结果视图(页面)给用户。 |
转载于:https://www.cnblogs.com/jimloveq/p/10609479.html
Action中五个常量解释,(success,error,input,login,none)相关推荐
- Struts2中五个重要的常量
一.五个常量的位置:位于xwork核心包下的Action字节码文件里 二.五个常量的介绍: a: SUCCESS 1 public static final String SUCCESS = &quo ...
- 安卓Intent的Action中的常值变量:窗口action常量(android.intent.action.+xxx),广播action常量(android.intent.action.+xxx)
全栈工程师开发手册 (作者:栾鹏) 安卓教程全解 安卓Intent的Action中的常值变量:窗口action常量,广播action常量 窗口action名称常量,"android.inte ...
- struts2实验2:struts2.xml action中* ,{}以及${}
p.s 关键在于struts.xml中的匹配,使用* ,{}以及${}可以让代码更加简洁清晰 代码核心思路 在struts.xml中通过路由(url)去指定控制逻辑的Action中的方法,例如 < ...
- 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 ...
- oracle中imp命令具体解释
oracle中imp命令具体解释 Oracle的导入有用程序(Import utility)同意从数据库提取数据,而且将数据写入操作系统文 件.imp使用的基本格式:imp[username[/pas ...
- struts2 action中result参数详解
chain 用来处理Action链 com.opensymphony.xwork2.ActionChainResult dispatcher 用来转向页面,通常处理JSP org.apache.str ...
- 深入理解C++中五种强制类型转换的使用场景
深入理解C++中五种强制类型转换的使用场景 1.C风格的强制类型转换 2.C++风格的强制类型转换 2.1.static_cast 2.1.1.用于基本内置数据类型之间的转换 2.1.2.用于指针之间 ...
- Python中的__init__()方法整理中(两种解释)
解释一:看懂了就不用看第二种了 __init__()方法是Python学习当中重要的基础知识,__init__()方法意义重大的原因有两个.第一个原因是在对象生命周期中初始化是最重要的一步:每个对象必 ...
- struts2 的一个action中配置多个result input
主题:struts2 的一个action中配置多个result input 讨论下 本文来自: 浪曦视频在线 作者: hoojo 发表于: 2009-6-4 19:05 阅读: 2005 人 收藏 看 ...
最新文章
- linux c brotli压缩简介
- tamper绕WAF小结
- phpMyAdmin import.php 跨站脚本漏洞
- wxWidgets:在对话框之间共享信息
- java await signal_java Condtion await方法和signal方法解析
- 注册表操作(VC_Win32)
- Shell 脚本的时间的加减,以及时间差的计算
- C# WPF MVVM开发框架Caliburn.Micro常用功能指南②
- Notes of the scrum meeting(2013/10/23)
- 3-unit2 高级网络配置
- 服务器搬迁方案_机房搬迁的一般步骤及实施方案
- 基于java的健身房会员卡管理系统ssh框架
- ubuntn下串口工具minicom ,kermit的使用
- “git pull”如何强制覆盖本地文件?
- STM32F407三重ADC配置
- c++工具库大全(值得收藏)
- 水平、垂直居中布局大全
- 手脫 -- PECompact 2.x -gt; Jeremy Collake
- 极客日报:日本的首颗 5nm 芯片公布;虾米音乐正式关停;网易云音乐再次喊话酷狗...
- RestSharp with polly 封装
热门文章
- 一本通1655数三角形
- echarts X轴数据显示不全问题
- 在centos 下安装配置基于gitosis 的git 服务
- 13个风格独特的关于页面(About Pages)设计
- 用 GDI 操作 EMF 文件[8]: 绘制图元文件时改变画笔与画刷
- EasyDSS高性能RTMP、HLS(m3u8)、HTTP-FLV、RTSP流媒体服务器启用https服务申请免费证书...
- php+ tinymce粘贴word
- C#设计模式之十七中介者模式(Mediator Pattern)【行为型】
- 结对开发----找出“水王
- javascript跨域实践