• 大小: 83.27MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-05-28
  • 语言: Java
  • 标签: struts  2.3.15.3  

资源简介

The Apache Struts web framework is a free open-source solution for creating Java web applications. Use the links below to download a release of Apache Struts from one of our mirrors. You can verify the integrity of the downloaded files using signatures downloaded from our main distribution directory.

资源截图

代码片段和文件信息

package cash.action;

import org.apache.log4j.Logger;

import com.opensymphony.xwork.ActionContext;
import com.opensymphony.xwork.ActionSupport;

/**
 * Superclass for Hibernate-aware actions.
 *
 * @author Joel Hockey
 * @version $Id: $
 */
public abstract class HibernateAction extends ActionSupport {
    /** xwork action return code */
    public static final String DBERROR = “dberror“;

    private static final Logger LOG = Logger.getLogger(HibernateAction.class);

    private boolean m_rollback = false;

    /** roll back the current session */
    protected void setRollbackOnly() { m_rollback = true; }

    /** @return whether the current Hibernate Session should be rolled back */
    public boolean getRollback() { return m_rollback; }

    /**
     * Sets an object into the web session
     * @param key Key used to index object
     * @param object The object to store
     */
    public void set(object key object object) {
        ActionContext.getContext().getSession().put(key object);
    }

    /**
     * Retrieve object from web session
     * @param key Key used to index object
     * @return object if it exists or null
     */
    public object get(object key) {
        return ActionContext.getContext().getSession().get(key);
    }
}



 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-10-15 21:54  struts-2.3.15.3\
     目录           0  2013-10-15 21:54  struts-2.3.15.3\lib\
     文件       54751  2013-09-16 07:41  struts-2.3.15.3\lib\cxf-site-export-1.0-20130910.143757-9.jar
     文件      380674  2013-06-25 08:17  struts-2.3.15.3\lib\cxf-rt-frontend-jaxws-2.7.4.jar
     文件       84091  2013-06-25 08:17  struts-2.3.15.3\lib\xml-resolver-1.2.jar
     文件       43578  2013-06-12 16:20  struts-2.3.15.3\lib\asm-3.3.jar
     文件     1064129  2013-06-25 08:17  struts-2.3.15.3\lib\cxf-api-2.7.4.jar
     文件      482245  2013-06-25 08:17  struts-2.3.15.3\lib\woodstox-core-asl-4.2.0.jar
     文件      182112  2013-06-25 08:17  struts-2.3.15.3\lib\stax2-api-3.1.1.jar
     文件      162818  2013-06-25 08:17  struts-2.3.15.3\lib\xmlschema-core-2.0.3.jar
     文件      223298  2013-06-25 08:17  struts-2.3.15.3\lib\geronimo-javamail_1.4_spec-1.7.1.jar
     文件      186758  2013-06-25 08:17  struts-2.3.15.3\lib\wsdl4j-1.6.3.jar
     文件      403127  2013-06-25 08:17  struts-2.3.15.3\lib\cxf-rt-core-2.7.4.jar
     文件     1112659  2013-06-27 09:02  struts-2.3.15.3\lib\jaxb-impl-2.2.6.jar
     文件      201899  2013-06-25 08:17  struts-2.3.15.3\lib\cxf-rt-bindings-soap-2.7.4.jar
     文件      121039  2013-06-25 08:17  struts-2.3.15.3\lib\cxf-rt-databinding-jaxb-2.7.4.jar
     文件       38680  2013-06-25 08:17  struts-2.3.15.3\lib\cxf-rt-bindings-xml-2.7.4.jar
     文件       66290  2013-06-25 08:17  struts-2.3.15.3\lib\cxf-rt-frontend-simple-2.7.4.jar
     文件      236973  2013-06-25 08:17  struts-2.3.15.3\lib\cxf-rt-transports-http-2.7.4.jar
     文件       79180  2013-06-25 08:17  struts-2.3.15.3\lib\cxf-rt-ws-addr-2.7.4.jar
     文件      204688  2013-06-25 08:17  struts-2.3.15.3\lib\cxf-rt-ws-policy-2.7.4.jar
     文件       71320  2013-06-25 08:17  struts-2.3.15.3\lib\neethi-3.0.2.jar
     文件      421339  2013-06-12 16:20  struts-2.3.15.3\lib\velocity-1.6.4.jar
     文件      559366  2013-06-12 16:19  struts-2.3.15.3\lib\commons-collections-3.1.jar
     文件      261809  2013-06-12 16:19  struts-2.3.15.3\lib\commons-lang-2.4.jar
     文件       65261  2013-06-12 16:19  struts-2.3.15.3\lib\oro-2.0.8.jar
     文件       90722  2013-06-25 08:17  struts-2.3.15.3\lib\tagsoup-1.2.1.jar
     文件       34578  2013-10-15 21:32  struts-2.3.15.3\lib\struts2-codebehind-plugin-2.3.15.3.jar
     文件      315805  2013-06-12 16:20  struts-2.3.15.3\lib\commons-lang3-3.1.jar
     文件      802737  2013-10-15 21:07  struts-2.3.15.3\lib\struts2-core-2.3.15.3.jar
     文件      640652  2013-10-15 21:04  struts-2.3.15.3\lib\xwork-core-2.3.15.3.jar
............此处省略6123个文件信息

评论

共有 条评论