Java 版 (精华区)

发信人: thering (没完没了), 信区: Java
标  题: struts源码分析=====ActionForward
发信站: 哈工大紫丁香 (2003年05月17日18:28:17 星期六), 站内信件

www.javasoft.cn出品

package org.apache.struts.action;

ActionForward

2003-5-17日

package org.apache.struts.action;
import org.apache.struts.config.ForwardConfig;

看过他的父类,觉得真的没什么好说的了
public class ActionForward extends ForwardConfig {

    public ActionForward() {
        this(null, false);
    }

    public ActionForward(String path) {
        this(path, false);
    }

    public ActionForward(String path, boolean redirect) {
        super();
        setName(null);
        setPath(path);
        setRedirect(redirect);
    }

    public ActionForward(String name, String path, boolean redirect) {
        super();
        setName(name);
        setPath(path);
        setRedirect(redirect);
    }

    public ActionForward(String name, String path, boolean redirect,boolean 
contextRelative) {
        super();
        setName(name);
        setPath(path);
        setRedirect(redirect);
        setContextRelative(contextRelative);
    }
}
 

※ 来源:·哈工大紫丁香 bbs.hit.edu.cn·[FROM: 202.118.228.151]
[百宝箱] [返回首页] [上级目录] [根目录] [返回顶部] [刷新] [返回]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:6.788毫秒