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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? setparentmessagetag.java

?? 這是學(xué)習(xí)Java必須讀懂兩套源代碼
?? JAVA
字號:
/**
 * Copyright (C) 2001 Yasna.com. All rights reserved.
 *
 * ===================================================================
 * The Apache Software License, Version 1.1
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 *
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in
 *    the documentation and/or other materials provided with the
 *    distribution.
 *
 * 3. The end-user documentation included with the redistribution,
 *    if any, must include the following acknowledgment:
 *       "This product includes software developed by
 *        Yasna.com (http://www.yasna.com)."
 *    Alternately, this acknowledgment may appear in the software itself,
 *    if and wherever such third-party acknowledgments normally appear.
 *
 * 4. The names "Yazd" and "Yasna.com" must not be used to
 *    endorse or promote products derived from this software without
 *    prior written permission. For written permission, please
 *    contact yazd@yasna.com.
 *
 * 5. Products derived from this software may not be called "Yazd",
 *    nor may "Yazd" appear in their name, without prior written
 *    permission of Yasna.com.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED.  IN NO EVENT SHALL YASNA.COM OR
 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 * ====================================================================
 *
 * This software consists of voluntary contributions made by many
 * individuals on behalf of Yasna.com. For more information
 * on Yasna.com, please see <http://www.yasna.com>.
 */

/**
 * Copyright (C) 2000 CoolServlets.com. All rights reserved.
 *
 * ===================================================================
 * The Apache Software License, Version 1.1
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 *
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in
 *    the documentation and/or other materials provided with the
 *    distribution.
 *
 * 3. The end-user documentation included with the redistribution,
 *    if any, must include the following acknowledgment:
 *       "This product includes software developed by
 *        CoolServlets.com (http://www.coolservlets.com)."
 *    Alternately, this acknowledgment may appear in the software itself,
 *    if and wherever such third-party acknowledgments normally appear.
 *
 * 4. The names "Jive" and "CoolServlets.com" must not be used to
 *    endorse or promote products derived from this software without
 *    prior written permission. For written permission, please
 *    contact webmaster@coolservlets.com.
 *
 * 5. Products derived from this software may not be called "Jive",
 *    nor may "Jive" appear in their name, without prior written
 *    permission of CoolServlets.com.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED.  IN NO EVENT SHALL COOLSERVLETS.COM OR
 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 * ====================================================================
 *
 * This software consists of voluntary contributions made by many
 * individuals on behalf of CoolServlets.com. For more information
 * on CoolServlets.com, please see <http://www.coolservlets.com>.
 */

package com.Yasna.forum.tags;

import java.io.*;
import javax.servlet.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
import javax.servlet.http.*;
import com.Yasna.forum.*;
import com.Yasna.forum.tags.*;

/**
 * JSP Tag <b>set_parent_message</b>, used with <b>thread</b> tag to set
 * the parent message id to move message to.
 * <p>
 * Must be nested within a <b>thread</b> tag.
 * <p>
 * The parent messageID to move message to is obtained from the body of the tag.
 * <p>
 * This tag is required to move a message and must precede the
 * <b>move_message</b> tag.
 * <p>
 * JSP Tag Lib Descriptor
 * <p><pre>
 *  &lt;name&gt;set_parent_message&lt;/name&gt;
 *  &lt;tagclass&gt;com.Yasna.forum.tags.SetParentMessageTag&lt;/tagclass&gt;
 *  &lt;bodycontent&gt;JSP&lt;/bodycontent&gt;
 *  &lt;info&gt;Sets the thread where message should be moved.&lt;/info&gt;
 * </pre>
 *
 * @see ThreadTag
 * @see MoveMessageTag
 *
 * @author Glenn Nielsen
 */

public class SetParentMessageTag extends BodyTagSupport
{

  /**
   * Method called at start of tag, just returns EVAL_BODY_TAG
   *
   * @return EVAL_BODY_TAG
   */
  public final int doStartTag() throws JspException
  {
    return EVAL_BODY_TAG;
  }

  /**
   * Read the body of the set_parent_message tag to obtain the value
   * of the parent messageID to move message to.
   *
   * @return SKIP_BODY
   */
  public final int doAfterBody() throws JspException
  {
    // Use the body of the tag as input for the parent messageID
    BodyContent body = getBodyContent();
    String s = body.getString();
    // Clear the body since we only used it to get the parent messageID
    body.clearBody();

    int mid = 0;
    try {
      mid = Integer.valueOf(s).intValue();
    } catch(NumberFormatException e) {
      throw new JspException(
	"Jive set_parent_message tag, body of tag is not a parent messageID integer");
    }

    // Get the parent tag
    ThreadTag tt = null;
    try {
      tt = (ThreadTag)this.findAncestorWithClass(this,
       Class.forName("com.Yasna.forum.tags.ThreadTag"));
    } catch(Exception e) {
    }

    // Set the parent messageID
    if( tt == null ) {
      throw new JspException(
	"Jive set_parent_message tag must be nested inside a thread tag");
    }
    tt.setParentMessage(mid);

    return SKIP_BODY;
  }

}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲精品乱码久久久久| 久久精品久久精品| 视频一区在线播放| 全国精品久久少妇| 国产精品538一区二区在线| 精品在线一区二区三区| 成人免费毛片片v| 欧美亚洲国产怡红院影院| 69堂成人精品免费视频| 精品国产伦一区二区三区观看体验| 26uuu国产日韩综合| 中文字幕一区二区在线观看| 亚洲成年人网站在线观看| 日韩avvvv在线播放| 国产黄人亚洲片| 欧美在线观看一二区| 日韩免费一区二区三区在线播放| 国产蜜臀97一区二区三区| 亚洲va韩国va欧美va精品| 极品少妇xxxx偷拍精品少妇| 99re在线视频这里只有精品| 欧美一区二区美女| 亚洲人妖av一区二区| 日韩成人精品在线观看| 99re6这里只有精品视频在线观看| 欧美日韩国产精品自在自线| 欧美激情一区在线| 国产乱人伦偷精品视频不卡| 成人a级免费电影| 久久综合狠狠综合| 国产成人综合视频| 亚洲欧美日韩电影| 欧美疯狂性受xxxxx喷水图片| 狠狠色丁香婷婷综合| 国产亚洲欧美日韩在线一区| eeuss鲁片一区二区三区在线看| 专区另类欧美日韩| 56国语精品自产拍在线观看| 久久精品国产精品亚洲综合| 国产欧美日韩激情| 欧美午夜精品久久久久久超碰| 日本va欧美va精品发布| 欧美另类变人与禽xxxxx| 亚洲精品一区二区三区在线观看| 五月婷婷激情综合网| 欧美日韩成人激情| 蜜桃av噜噜一区二区三区小说| 欧美日韩五月天| 日韩电影在线观看网站| 91精品欧美综合在线观看最新| 亚洲一区二区中文在线| 欧美精品在线视频| 久久精品国产精品亚洲综合| 欧美国产综合色视频| 色综合色综合色综合色综合色综合| 亚洲欧美在线另类| 欧美日韩亚洲另类| 国产一区视频在线看| 国产精品久久久久四虎| 欧美性受xxxx黑人xyx性爽| 免费成人av在线播放| 国产精品久久久久久久久快鸭| 欧美亚洲动漫精品| 高清日韩电视剧大全免费| 亚洲视频免费观看| 欧美不卡123| 欧美视频一区在线| 在线视频你懂得一区二区三区| 亚洲日本va在线观看| 国产成人精品影院| 国产欧美一区二区在线观看| 成人久久18免费网站麻豆 | 欧美激情一区二区三区蜜桃视频| 亚洲激情自拍视频| 欧美一二三在线| 99视频在线精品| 久久99精品一区二区三区| 国产精品白丝在线| 精品国产乱码久久久久久1区2区 | 宅男噜噜噜66一区二区66| bt欧美亚洲午夜电影天堂| 男人的j进女人的j一区| 亚洲一二三四区不卡| 中文字幕一区二区三| 337p粉嫩大胆噜噜噜噜噜91av| 欧美视频一区在线| 色先锋久久av资源部| 99麻豆久久久国产精品免费优播| 精品亚洲免费视频| 美女www一区二区| 亚洲va中文字幕| 亚洲激情图片小说视频| 日本一区二区三区久久久久久久久不| 欧美男女性生活在线直播观看| 91丨porny丨蝌蚪视频| 成人aa视频在线观看| 国产麻豆一精品一av一免费| 久久99久久99小草精品免视看| 麻豆精品一区二区三区| 日本欧美大码aⅴ在线播放| 亚洲成人动漫av| 日韩国产在线一| 视频一区在线播放| 美女mm1313爽爽久久久蜜臀| 国产又粗又猛又爽又黄91精品| 亚洲福利一区二区三区| 香蕉乱码成人久久天堂爱免费| 午夜精品福利一区二区三区av| 日本伊人精品一区二区三区观看方式| 午夜伦理一区二区| 狠狠久久亚洲欧美| 懂色av一区二区三区免费看| aaa亚洲精品| 欧美久久久一区| 精品国产一区a| 国产精品福利一区| 日韩av电影免费观看高清完整版在线观看| 日本sm残虐另类| 国产乱妇无码大片在线观看| 97精品电影院| 日韩一区二区免费高清| 国产精品国产三级国产aⅴ原创| 午夜日韩在线电影| 丁香亚洲综合激情啪啪综合| 欧美三级午夜理伦三级中视频| 精品国产一区二区精华| 亚洲乱码中文字幕| 激情综合色播激情啊| 91久久免费观看| 国产性色一区二区| 日本美女一区二区三区视频| 99视频超级精品| 精品88久久久久88久久久| 亚洲精品高清在线观看| 国产成人免费网站| 日韩亚洲欧美一区二区三区| 一区二区视频在线| 成人av免费网站| 国产欧美一区二区在线观看| 蜜臀av亚洲一区中文字幕| 欧美午夜精品一区二区蜜桃| 中文字幕av一区二区三区| 狠狠久久亚洲欧美| 精品精品欲导航| 蜜桃av噜噜一区| 日韩欧美中文字幕公布| 亚瑟在线精品视频| 6080亚洲精品一区二区| 性欧美大战久久久久久久久| 欧美日韩一级片网站| 亚洲一区二区三区四区的| 欧美在线视频你懂得| 亚洲精品老司机| 欧美色男人天堂| 亚洲1区2区3区视频| 欧美一区二区视频网站| 久久精品国产在热久久| 26uuu精品一区二区在线观看| 国模冰冰炮一区二区| 国产无一区二区| 91网站最新网址| 日日夜夜一区二区| 欧美va亚洲va| 成人国产精品免费| 亚洲免费成人av| 欧美精品乱码久久久久久按摩| 免费看日韩a级影片| 久久综合九色综合欧美就去吻| 国产成人在线免费观看| 亚洲欧洲在线观看av| 欧美日韩中字一区| 成人综合在线观看| 亚洲mv大片欧洲mv大片精品| 欧美大度的电影原声| 成人动漫一区二区| 人人爽香蕉精品| 国产精品久久三| 欧美变态凌虐bdsm| 99久久久久久| 国产一区在线视频| 亚洲成人综合在线| 国产精品成人免费| 日韩欧美激情一区| 欧美伊人久久大香线蕉综合69 | 国产欧美在线观看一区| 欧美男女性生活在线直播观看| 成人一区二区三区视频在线观看| 亚洲成年人网站在线观看| 国产精品成人免费| 国产香蕉久久精品综合网| 欧洲视频一区二区| youjizz久久| 欧美国产精品劲爆| 国产亚洲一本大道中文在线| 精品久久人人做人人爱| 亚洲国产精品成人综合| 亚洲图片另类小说| 中文字幕五月欧美| 国产精品乱人伦中文| 中文子幕无线码一区tr|