资源简介
struts2.18框架的源码 struts2.18框架的源码
代码片段和文件信息
/*
* Copyright (c) 2002-2007 by OpenSymphony
* All rights reserved.
*/
package com.opensymphony.xwork2;
/**
* All actions may implement this interface which exposes the execute()
method.
*
* However as of XWork 1.1 this is not required and is only here to assist users. You are free to create POJOs
* that honor the same contract defined by this interface without actually implementing the interface.
*/
public interface Action {
/**
* The action execution was successful. Show result
* view to the end user.
*/
public static final String SUCCESS = “success“;
/**
* The action execution was successful but do not
* show a view. This is useful for actions that are
* handling the view in another fashion like redirect.
*/
public static final String NONE = “none“;
/**
* The action execution was a failure.
* Show an error view possibly asking the
* user to retry entering data.
*/
public static final String ERROR = “error“;
/**
* The action execution require more input
* in order to succeed.
* This result is typically used if a form
* handling action has been executed so as
* to provide defaults for a form. The
* form associated with the handler should 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.
*/
public static final String INPUT = “input“;
/**
* The action could not execute since the
* user most was not logged in. The login view
* should be shown.
*/
public static final String LOGIN = “login“;
/**
* Where the logic of the action is executed.
*
* @return a string representing the logical result of the execution.
* See constants in this interface for a list of standard result values.
* @throws Exception thrown if a system level exception occurs.
* Note: Application level exceptions should be handled by returning
* an error value such as Action.ERROR
.
*/
public String execute() throws Exception;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2013-06-12 21:14 com\
目录 0 2013-06-12 21:14 com\opensymphony\
目录 0 2013-06-12 21:14 com\opensymphony\xwork2\
文件 2268 2013-03-18 22:44 com\opensymphony\xwork2\Action.java
文件 9770 2013-03-18 22:44 com\opensymphony\xwork2\ActionChainResult.java
文件 10576 2013-03-18 22:44 com\opensymphony\xwork2\ActionContext.java
文件 797 2013-03-18 22:44 com\opensymphony\xwork2\ActionEventListener.java
文件 5517 2013-03-18 22:44 com\opensymphony\xwork2\ActionInvocation.java
文件 2301 2013-03-18 22:44 com\opensymphony\xwork2\ActionProxy.java
文件 5361 2013-03-18 22:44 com\opensymphony\xwork2\ActionProxyFactory.java
文件 7504 2013-03-18 22:44 com\opensymphony\xwork2\ActionSupport.java
文件 9344 2013-03-18 22:44 com\opensymphony\xwork2\CompositeTextProvider.java
文件 17522 2013-03-18 22:44 com\opensymphony\xwork2\DefaultActionInvocation.java
文件 6096 2013-03-18 22:44 com\opensymphony\xwork2\DefaultActionProxy.java
文件 2421 2013-03-18 22:44 com\opensymphony\xwork2\DefaultActionProxyFactory.java
文件 4025 2013-03-18 22:44 com\opensymphony\xwork2\DefaultTextProvider.java
文件 4526 2013-03-18 22:44 com\opensymphony\xwork2\DefaultUnknownHandlerManager.java
文件 542 2013-03-18 22:44 com\opensymphony\xwork2\Invalidme
文件 700 2013-03-18 22:44 com\opensymphony\xwork2\LocaleProvider.java
文件 378 2013-03-18 22:44 com\opensymphony\xwork2\MockActionInvocation.java
文件 498 2013-03-18 22:44 com\opensymphony\xwork2\ModelDriven.java
文件 11049 2013-05-05 12:00 com\opensymphony\xwork2\ob
文件 623 2013-03-18 22:44 com\opensymphony\xwork2\Preparable.java
文件 849 2013-03-18 22:44 com\opensymphony\xwork2\ResourceBundleTextProvider.java
文件 992 2013-03-19 07:18 com\opensymphony\xwork2\Result.java
文件 1915 2013-03-18 22:44 com\opensymphony\xwork2\TestNGXWorkTestCase.java
文件 7075 2013-03-18 22:44 com\opensymphony\xwork2\TextProvider.java
文件 1517 2013-03-18 22:44 com\opensymphony\xwork2\TextProviderFactory.java
文件 12632 2013-03-18 22:44 com\opensymphony\xwork2\TextProviderSupport.java
文件 328 2013-03-18 22:44 com\opensymphony\xwork2\Unchainable.java
文件 1888 2013-03-18 22:44 com\opensymphony\xwork2\UnknownHandler.java
............此处省略733个文件信息
- 上一篇:glew-2.0.0.zip
- 下一篇:《2017-2018中国IDC产业研究报告》
相关资源
- Ext+Struts2的学生成绩管理系统
- Struts2+Hibernate的简单登录功能实现
- 网上图书管理系统struts2+hibernate的课程
- 深入浅出Struts2 中文版
- web框架PPT——Struts 2+Hibernate+MyBatis+S
- 基于struts和hibernate的学生信息管理系
- Struts2文件动态上传和动态(可自动生
- 安全技术-挖掘src之路-高清PDF
- 基于struts上传头像功能
- 基于mvc的登录验证连接数据
- 旅游网站订票系统源码
- cygwin-1.1.8-2-src
- 一个简单的ssh框架集成的
- struts2+hibernate的网上购物管理系统的课
- axis2-1.6.2-src 官方源码包
- 基于深度学习和稀疏表达的人脸识别
- struts+spring+hibernate整合包
- jeecms5.1-src.zip 源码包
- Struts2+word导入导出
- mybatis+struts+spring搭建好的框架
- 基于SSH+Bootstrap的公司员工管理系统
- struts2.3 spring4 hibernate4.3 EXTJS4项目
- struts2验证码完整
- SSH实现学生毕业设计管理系统
- hadoop-2.7.3-src.tar.gz
- S2SH整合 struts2 spring4 hibernate4
- Cohda MK5 开发资料
- struts2+spring2.5+hibernate3.2 annotation配置完
- 开源的物料资源管理系统
- 简单的实现Web登录(struts2+Hibernate)
评论
共有 条评论