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

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

?? setthreadtag.java

?? 這是學習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_thread</b>, used with <b>thread</b> tag to set
 * the thread id to move message to.
 * <p>
 * Must be nested within a <b>thread</b> tag.
 * <p>
 * The threadID 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_thread&lt;/name&gt;
 *  &lt;tagclass&gt;com.Yasna.forum.tags.SetThreadTag&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 SetThreadTag 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_thread tag to obtain the value
   * of the threadID to move message to.
   *
   * @return SKIP_BODY
   */
  public final int doAfterBody() throws JspException
  {
    // Use the body of the tag as input for the threadID
    BodyContent body = getBodyContent();
    String s = body.getString();
    // Clear the body since we only used it to get the threadID
    body.clearBody();

    int tid = 0;
    try {
      tid = Integer.valueOf(s).intValue();
    } catch(NumberFormatException e) {
      throw new JspException(
	"Jive set_thread tag, body of tag is not a threadID 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 threadID
    if( tt == null ) {
      throw new JspException(
	"Jive set_thread tag must be nested inside a thread tag");
    }
    tt.setThread(tid);

    return SKIP_BODY;
  }

}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区高清| 国产麻豆欧美日韩一区| 国产精品污网站| 欧美电视剧在线观看完整版| 91成人在线免费观看| 岛国av在线一区| 日韩精品电影一区亚洲| 亚洲一区日韩精品中文字幕| 自拍av一区二区三区| 国产精品每日更新| 久久久国产精品午夜一区ai换脸| 日韩欧美精品三级| 欧美精品九九99久久| 91视视频在线观看入口直接观看www| 青娱乐精品视频| 国产精品自拍网站| 国产主播一区二区| 久久精品理论片| 另类小说色综合网站| 午夜精品一区二区三区免费视频 | 国产一区二区三区久久久| 日韩不卡手机在线v区| 亚洲 欧美综合在线网络| 亚洲亚洲精品在线观看| 亚洲午夜精品久久久久久久久| 亚洲最色的网站| 亚洲国产视频a| 视频一区二区不卡| 日韩av在线播放中文字幕| 秋霞午夜鲁丝一区二区老狼| 奇米精品一区二区三区在线观看 | 亚洲最新视频在线观看| 亚洲综合色噜噜狠狠| 亚洲一区二区四区蜜桃| 亚洲一卡二卡三卡四卡 | 亚洲国产一区视频| 视频在线观看国产精品| 麻豆一区二区三| 国产乱码精品一区二区三| 成人国产精品免费观看| 色8久久人人97超碰香蕉987| 99精品视频在线观看| 成人网页在线观看| 一本一道综合狠狠老| 欧美午夜视频网站| 91精品国产欧美一区二区| 日韩一级片网站| 久久久久青草大香线综合精品| 久久综合九色综合欧美亚洲| 欧美国产在线观看| 一区二区视频在线| 日日欢夜夜爽一区| 国产丶欧美丶日本不卡视频| 99久久精品99国产精品| 欧美日韩高清影院| 精品国产污污免费网站入口| 国产精品久久久久9999吃药| 亚洲美女淫视频| 日韩精品一级二级| 福利电影一区二区三区| 亚洲女与黑人做爰| 欧美变态tickling挠脚心| 91精品啪在线观看国产60岁| 亚洲国产视频一区| 亚洲婷婷在线视频| 亚洲v精品v日韩v欧美v专区| 激情图片小说一区| 色综合久久久久久久| 欧美一区二区视频在线观看2020| 国产精品女同一区二区三区| 亚洲bt欧美bt精品| 成人国产精品免费观看动漫| 欧美伦理电影网| 国产精品免费av| 午夜a成v人精品| 成人一级黄色片| 欧美二区乱c少妇| 中文字幕一区二区三区乱码在线| 日韩成人一级大片| 国产一区二区久久| 欧美日韩一级视频| 中文字幕免费不卡在线| 国产a视频精品免费观看| 欧美人妇做爰xxxⅹ性高电影 | 国产偷v国产偷v亚洲高清| 亚洲黄色片在线观看| 一区二区三区四区中文字幕| 国产成人精品www牛牛影视| 欧美色精品在线视频| 国产精品毛片高清在线完整版| 久久国产麻豆精品| 欧美日韩国产欧美日美国产精品| 国产精品人成在线观看免费 | 午夜精品免费在线观看| 成人动漫一区二区| 精品福利一二区| 一区二区成人在线| 成人av电影在线观看| 精品免费99久久| 天堂资源在线中文精品| 91福利在线免费观看| 欧美电影免费观看高清完整版在线观看 | 久久不见久久见中文字幕免费| 欧美三级资源在线| 亚洲蜜桃精久久久久久久| 风间由美一区二区三区在线观看| 欧美一区二区在线不卡| 另类小说视频一区二区| 欧美成人精品3d动漫h| 久久福利资源站| 久久先锋影音av鲁色资源网| 国产一区二区精品久久| 国产日韩精品一区| 成人福利在线看| 成人欧美一区二区三区小说| 色美美综合视频| 亚洲成人三级小说| 欧美一级欧美三级| 精品一区二区三区不卡| 久久久精品一品道一区| va亚洲va日韩不卡在线观看| 亚洲免费观看高清完整| 欧美日产在线观看| 美女视频黄a大片欧美| 久久综合久久99| kk眼镜猥琐国模调教系列一区二区 | 欧美精品一区二| 成人免费黄色在线| 精品一区二区三区蜜桃| 中文字幕 久热精品 视频在线| 91麻豆国产香蕉久久精品| 亚洲国产精品久久不卡毛片| 91精品国产综合久久精品app| 久久99热狠狠色一区二区| 国产精品视频九色porn| 色素色在线综合| 美女爽到高潮91| 中文字幕中文字幕一区二区| 欧美日韩高清一区二区三区| 精品亚洲成a人在线观看| 中文av字幕一区| 91超碰这里只有精品国产| 国模套图日韩精品一区二区| 亚洲欧美日韩一区二区 | 欧美高清你懂得| 国产另类ts人妖一区二区| 中文字幕日本不卡| 欧美日韩一区久久| 国产91丝袜在线播放0| 亚洲自拍偷拍图区| 久久久亚洲高清| 欧美日韩一区视频| 成人一区二区三区视频| 日韩精品三区四区| 中文字幕在线不卡一区二区三区| 欧美一区二区三区免费视频 | 日韩欧美一级精品久久| av一区二区三区黑人| 日本欧美大码aⅴ在线播放| 国产女主播在线一区二区| 欧美日韩亚洲高清一区二区| 成人午夜视频在线观看| 天天综合网天天综合色| 一区免费观看视频| 精品第一国产综合精品aⅴ| 一本大道av伊人久久综合| 国产一区二区三区香蕉| 天天做天天摸天天爽国产一区| 国产精品传媒视频| 精品成人在线观看| 欧美日韩一区在线观看| 99re8在线精品视频免费播放| 久久99精品久久久| 亚洲va天堂va国产va久| 亚洲色欲色欲www在线观看| 久久亚洲精品小早川怜子| 欧美日韩在线一区二区| 99精品欧美一区二区三区综合在线| 久久99国产精品免费网站| 亚洲大片一区二区三区| 自拍偷拍国产亚洲| 国产精品私房写真福利视频| 日韩精品在线一区| 制服丝袜亚洲精品中文字幕| 欧美在线观看一区二区| 91一区二区三区在线播放| 成人视屏免费看| 国产成人免费在线观看不卡| 久久激五月天综合精品| 日韩精品成人一区二区三区| 亚洲国产色一区| 亚洲尤物在线视频观看| 亚洲视频免费看| 国产精品对白交换视频| 国产精品青草久久| 欧美国产乱子伦| 国产日产欧美一区二区三区| 久久免费电影网| 国产午夜精品美女毛片视频| 久久天天做天天爱综合色|