亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? forwardconfig.java

?? struts的源代碼
?? JAVA
字號:
/*
 * $Id: ForwardConfig.java 55980 2004-10-29 15:34:55Z husted $ 
 *
 * Copyright 1999-2004 The Apache Software Foundation.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


package org.apache.struts.config;


import java.io.Serializable;


/**
 * <p>A JavaBean representing the configuration information of a
 * <code>&lt;forward&gt;</code> element from a Struts
 * configuration file.</p>
 *
 * @version $Rev: 55980 $ $Date: 2004-10-29 16:34:55 +0100 (Fri, 29 Oct 2004) $
 * @since Struts 1.1
 */

public class ForwardConfig implements Serializable {


    // ----------------------------------------------------------- Constructors


    /**
     * Construct a new instance with default values.
     */
    public ForwardConfig() {

        super();

    }


    /**
     * Construct a new instance with the specified values.
     *
     * @param name Name of this forward
     * @param path Path to which control should be forwarded or redirected
     * @param redirect Should we do a redirect?
     */
    public ForwardConfig(String name, String path, boolean redirect) {

        super();
        setName(name);
        setPath(path);
        setRedirect(redirect);

    }


    /**
     * Construct a new instance with the specified values.
     *
     * @param name Name of this forward
     * @param path Path to which control should be forwarded or redirected
     * @param redirect Should we do a redirect?
     * @param contextRelative Is this path context relative?
     * @deprecated Use module rather than contextRelative
     */
    public ForwardConfig(String name, String path, boolean redirect,
                         boolean contextRelative) {

        super();
        setName(name);
        setPath(path);
        setRedirect(redirect);
        setContextRelative(contextRelative);

    }

    /**
     * <p>Construct a new instance with the specified values.</p>
     * @param name Name of this forward
     * @param path Path to which control should be forwarded or redirected
     * @param redirect Should we do a redirect?
     * @param module Module prefix, if any
     */
    public ForwardConfig(String name, String path, boolean redirect,
                         String module) {

        super();
        setName(name);
        setPath(path);
        setRedirect(redirect);
        setModule(module);

    }


    // ----------------------------------------------------- Instance Variables


    /**
     * Has this component been completely configured?
     */
    protected boolean configured = false;


    // ------------------------------------------------------------- Properties


    /**
     * Should the value of the <code>path</code> property be considered
     * context-relative if it starts with a slash (and therefore not
     * prefixed with the module prefix?
     * @deprecated Use module property instead; will be removed in a release following 1.2.0.
     */
    protected boolean contextRelative = false;

    /**
     * @deprecated Use module property instead; will be removed in a release following 1.2.0.
     */
    public boolean getContextRelative() {
        return (this.contextRelative);
    }

    /**
     * @deprecated Use module property instead; will be removed in a release following 1.2.0.
     */
    public void setContextRelative(boolean contextRelative) {
        if (configured) {
            throw new IllegalStateException("Configuration is frozen");
        }
        this.contextRelative = contextRelative;
    }


    /**
     * The unique identifier of this forward, which is used to reference it
     * in <code>Action</code> classes.
     */
    protected String name = null;

    public String getName() {
        return (this.name);
    }

    public void setName(String name) {
        if (configured) {
            throw new IllegalStateException("Configuration is frozen");
        }
        this.name = name;
    }


    /**
     * <p>The URL to which this <code>ForwardConfig</code> entry points,
     * which must start with a slash ("/") character.  It is
     * interpreted according to the following rules:</p>
     * <ul>
     * <li>If <code>contextRelative</code> property is <code>true</code>, the
     *     path is considered to be context-relative within the current web
     *     application (even if we are in a named module).  It will be
     *     prefixed by the context path to create a server-relative URL.</li>
     * <li>If the <code>contextRelative</code> property is false, the path is
     *     considered to be the module-relative portion of the URL.
     *     It will be used as the replacement for the <code>$P</code>
     *     marker in the <code>forwardPattern</code> property defined on the
     *     {@link ControllerConfig} element for our current module.
     *     For the default <code>forwardPattern</code> value of
     *     <code>$C$M$P</code>, the resulting server-relative URL will be
     *     the concatenation of the context path, the module prefix,
     *     and the <code>path</code> from this <code>ForwardConfig</code>.</li>
     * </ul>
     */
    protected String path = null;

    public String getPath() {
        return (this.path);
    }

    public void setPath(String path) {
        if (configured) {
            throw new IllegalStateException("Configuration is frozen");
        }
        this.path = path;
    }


	/**
	 * <p>The prefix of the module to which this <code>ForwardConfig</code> entry points,
	 * which must start with a slash ("/") character.  </p>
     * <p>Usage note: If a forward config is used in a hyperlink,
     * and a module is specified, the path must lead to another
     * action and not directly to a page. This is in keeping with
     * rule that in a modular application all links must be to
     * an action rather than a page.
     * </p>
	 */
	protected String module = null;

	public String getModule() {
		return (this.module);
	}

	public void setModule(String module) {
		if (configured) {
			throw new IllegalStateException("Configuration is frozen");
		}
		this.module = module;
	}


    /**
     * Should a redirect be used to transfer control to the specified path?
     */
    protected boolean redirect = false;

    public boolean getRedirect() {
        return (this.redirect);
    }

    public void setRedirect(boolean redirect) {
        if (configured) {
            throw new IllegalStateException("Configuration is frozen");
        }
        this.redirect = redirect;
    }


    // --------------------------------------------------------- Public Methods


    /**
     * Freeze the configuration of this component.
     */
    public void freeze() {

        configured = true;

    }


    /**
     * Return a String representation of this object.
     */
    public String toString() {

        StringBuffer sb = new StringBuffer("ForwardConfig[");
        sb.append("name=");
        sb.append(this.name);
        sb.append(",path=");
        sb.append(this.path);
        sb.append(",redirect=");
        sb.append(this.redirect);
        sb.append(",contextRelative=");
        sb.append(this.contextRelative);
        sb.append(",module=");
        sb.append(this.module);
        sb.append("]");
        return (sb.toString());

    }


}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久免费午夜影院| 色国产精品一区在线观看| 激情小说亚洲一区| 99riav一区二区三区| 欧美在线免费视屏| 久久精品视频一区二区三区| 最新国产の精品合集bt伙计| 免费成人av在线| 欧美午夜在线一二页| 精品国产亚洲一区二区三区在线观看 | 日韩和欧美的一区| 丁香网亚洲国际| 欧美精品一区二区三区在线播放| 一区二区三区国产| 99精品视频在线免费观看| 精品国一区二区三区| 一区二区三区精品| 国产成人精品一区二区三区四区 | 国产精品一区2区| 在线观看不卡一区| 午夜精品免费在线观看| 成人福利在线看| 精品国产自在久精品国产| 一区二区三区高清在线| 91在线一区二区三区| 欧美激情一二三区| 国产久卡久卡久卡久卡视频精品| 91精品国产欧美一区二区成人| 亚洲精品日日夜夜| 一本一道综合狠狠老| 亚洲人成亚洲人成在线观看图片| 粉嫩一区二区三区性色av| 国产调教视频一区| 风间由美一区二区av101 | 久久久亚洲欧洲日产国码αv| 视频在线观看91| 欧美日韩精品电影| 视频一区二区国产| 欧美电影免费观看高清完整版| 日本 国产 欧美色综合| 欧美精品在欧美一区二区少妇| 亚洲欧美国产高清| 欧美吻胸吃奶大尺度电影| 亚洲国产精品久久不卡毛片 | 一区二区三区日韩| 欧美日韩和欧美的一区二区| 天天影视网天天综合色在线播放| 欧美一级高清大全免费观看| 青青草原综合久久大伊人精品 | 在线影视一区二区三区| 亚洲精品网站在线观看| 欧美天堂一区二区三区| 日韩精品一二三四| 久久精品一区二区三区不卡| 成人精品国产一区二区4080| 国产精品传媒视频| 在线观看日韩电影| 日韩影院免费视频| 中文字幕av免费专区久久| 色综合久久久久久久久| 丝袜亚洲另类欧美| 精品美女被调教视频大全网站| 成人免费视频一区| 亚洲1区2区3区视频| 精品久久国产字幕高潮| 成人爱爱电影网址| 亚洲成在线观看| 国产一区二区精品久久99| 国产伦精品一区二区三区在线观看| 在线免费视频一区二区| 日韩欧美在线影院| 一区二区三区毛片| 国产一区二区三区免费播放| 欧美亚洲动漫精品| 麻豆精品在线观看| 国产精品每日更新在线播放网址 | 久久久久久久免费视频了| 国产一区二区三区四区五区入口| 日韩成人一级片| 日本欧美韩国一区三区| 丝袜美腿亚洲色图| 日本大胆欧美人术艺术动态 | 在线国产电影不卡| 色8久久人人97超碰香蕉987| 不卡电影一区二区三区| 高清国产午夜精品久久久久久| 福利一区福利二区| 成人福利电影精品一区二区在线观看| 国产麻豆精品theporn| 国产91精品露脸国语对白| 国产一区二三区| 丁香五精品蜜臀久久久久99网站| hitomi一区二区三区精品| 国产91精品欧美| 91亚洲国产成人精品一区二三 | 欧美va亚洲va香蕉在线| 欧美videossexotv100| 久久久精品tv| 中文字幕欧美日韩一区| 亚洲免费在线视频| 午夜精品久久久久久久| 精品一区二区精品| 国产99一区视频免费| 国产成人综合精品三级| 99国产精品国产精品久久| 欧美性生活大片视频| 日韩欧美精品三级| 日本一区二区高清| 亚洲成人先锋电影| 国产一区在线视频| 欧美视频在线观看一区| 精品国免费一区二区三区| 自拍偷拍亚洲综合| 日韩国产高清在线| 成人性视频免费网站| 91极品视觉盛宴| 久久亚洲捆绑美女| 亚洲黄色尤物视频| 国内精品视频666| 欧美亚洲高清一区二区三区不卡| 日韩免费高清视频| ●精品国产综合乱码久久久久| 日韩激情一区二区| av成人老司机| 精品国产免费久久| 亚洲最色的网站| 国产91在线|亚洲| 91精品国产综合久久小美女| 国产精品私房写真福利视频| 日韩精品欧美精品| 国产在线看一区| 色av成人天堂桃色av| 精品日韩成人av| 亚洲国产日韩a在线播放性色| 国产一区二区久久| 91精品国产综合久久久久久漫画| 国产精品国模大尺度视频| 免费欧美日韩国产三级电影| 色悠悠亚洲一区二区| 国产亚洲成年网址在线观看| 日日欢夜夜爽一区| 91黄视频在线| 亚洲视频一二区| 国产一区高清在线| 日韩一区二区在线免费观看| 国产精品伦一区二区三级视频| 久久国产精品无码网站| 欧美色男人天堂| 亚洲免费av高清| 成人免费视频caoporn| 精品久久久久一区| 蜜臀va亚洲va欧美va天堂| 欧美视频中文一区二区三区在线观看| 日韩理论片中文av| 972aa.com艺术欧美| 国产精品成人午夜| 精品一区中文字幕| 91麻豆精品久久久久蜜臀| 亚洲精品一二三区| 91亚洲精品一区二区乱码| 国产精品护士白丝一区av| thepron国产精品| 欧美国产日韩亚洲一区| 高清免费成人av| 国产精品久久网站| av电影一区二区| 亚洲日本一区二区三区| 91在线观看高清| 亚洲蜜臀av乱码久久精品| 成人福利视频网站| 国产精品久久福利| 99麻豆久久久国产精品免费优播| 国产精品毛片高清在线完整版| 成人精品gif动图一区| 中文字幕亚洲在| 91浏览器在线视频| 亚洲专区一二三| 欧美久久久久中文字幕| 五月天亚洲精品| 精品嫩草影院久久| 成人理论电影网| 一区二区三区精品久久久| 色呦呦日韩精品| 亚洲一区二区三区四区的| 色天天综合色天天久久| 亚洲高清视频的网址| 在线播放日韩导航| 韩国女主播成人在线| 久久精品一区二区三区av| 成人深夜在线观看| 亚洲最色的网站| 欧美成人a∨高清免费观看| 国产河南妇女毛片精品久久久 | 亚洲老妇xxxxxx| 欧美日韩另类一区| 久久99国产精品麻豆| 国产精品污污网站在线观看| 欧美最猛黑人xxxxx猛交| 男人的天堂亚洲一区| 国产精品系列在线|