org.apache.struts.taglib
クラス RedirectTag

java.lang.Object
  拡張javax.servlet.jsp.tagext.TagSupport
      拡張org.apache.struts.taglib.RedirectTag
すべての実装インタフェース:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class RedirectTag
extends javax.servlet.jsp.tagext.TagSupport

Perform a sendRedirect() to the specified URL, and skip evaluating the remainder of the current page.

バージョン:
$Revision: 1.1.1.1 $ $Date: 2003/03/11 13:38:38 $
作成者:
Craig R. McClanahan
関連項目:
直列化された形式

フィールドの概要
protected  java.lang.String href
          The hyperlink URI.
protected static MessageResources messages
          The message resources for this package.
 
クラス javax.servlet.jsp.tagext.TagSupport から継承したフィールド
id, pageContext
 
インタフェース javax.servlet.jsp.tagext.IterationTag から継承したフィールド
EVAL_BODY_AGAIN
 
インタフェース javax.servlet.jsp.tagext.Tag から継承したフィールド
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
コンストラクタの概要
RedirectTag()
           
 
メソッドの概要
 int doEndTag()
          Render a redirect to the specified hyperlink, and skip the remainder of the current page.
 int doStartTag()
          Defer generation until the end of this tag is encountered.
 java.lang.String getHref()
          Return the hyperlink URI.
 void release()
          Release any acquired resources.
 void setHref(java.lang.String href)
          Set the hyperlink URI.
 
クラス javax.servlet.jsp.tagext.TagSupport から継承したメソッド
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース javax.servlet.jsp.tagext.IterationTag から継承したメソッド
 

フィールドの詳細

href

protected java.lang.String href
The hyperlink URI.


messages

protected static MessageResources messages
The message resources for this package.

コンストラクタの詳細

RedirectTag

public RedirectTag()
メソッドの詳細

getHref

public java.lang.String getHref()
Return the hyperlink URI.


setHref

public void setHref(java.lang.String href)
Set the hyperlink URI.

パラメータ:
href - Set the hyperlink URI

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Defer generation until the end of this tag is encountered.

例外:
javax.servlet.jsp.JspException - if a JSP exception has occurred

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Render a redirect to the specified hyperlink, and skip the remainder of the current page.

例外:
javax.servlet.jsp.JspException - if a JSP exception has occurred

release

public void release()
Release any acquired resources.



このドキュメントは、Ja-Jakartaにより訳されました。コメントがある場合は、report@jajakarta.orgまでお願いします。
Copyright (C) 2000-2002 - Apache Software Foundation