jtcontext.java

来自「Java Pattern Oriented Framework (Jt) 是为了」· Java 代码 · 共 56 行

JAVA
56
字号


package Jt;

import java.io.*;

/**
 *  Jt Context
 */

public class JtContext implements Serializable {

    public static final String JtCLASS_NAME = JtContext.class.getName(); 
    private static final long serialVersionUID = 1L;

    private Object servletContext;
    private Object actionForm;
    
    /**
     * Returns the Struts ActionForm. 
     */
    
    public Object getActionForm() {
        return actionForm;
    }

    /**
     * Set the Struts ActionForm (set by JtStrutsAction). 
     * @param actionForm Struts ActionForm
     */
    
    public void setActionForm(Object actionForm) {
        this.actionForm = actionForm;
    }

    /**
     * Returns the servlet Context. 
     */
    
    public Object getServletContext() {
        return servletContext;
    }

    /**
     * Sets the servlet context. 
     * @param servletContext servlet context
     */
    
    public void setServletContext(Object servletContext) {
        this.servletContext = servletContext;
    }



}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?