org.apache.struts.taglib.logic
クラス ForwardTag

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

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

Perform a forward or redirect to a page that is looked up in the configuration information associated with our application.

バージョン:
$Revision: 1.1 $ $Date: 2004/10/20 03:26:42 $
関連項目:
直列化された形式

フィールドの概要
protected static MessageResources messages
          The message resources for this package.
protected  java.lang.String name
          The logical name of the ActionForward entry to be looked up.
 
クラス 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
 
コンストラクタの概要
ForwardTag()
           
 
メソッドの概要
 int doEndTag()
          Look up the ActionForward associated with the specified name, and perform a forward or redirect to that path as indicated.
protected  void doForward(java.lang.String path)
          Forward to the given path converting exceptions to JspException.
protected  void doRedirect(java.lang.String path)
          Redirect to the given path converting exceptions to JspException.
 int doStartTag()
          Defer processing until the end of this tag is encountered.
 java.lang.String getName()
           
 void release()
          Release all allocated resources.
 void setName(java.lang.String name)
           
 
クラス 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 から継承したメソッド
 

フィールドの詳細

messages

protected static MessageResources messages
The message resources for this package.


name

protected java.lang.String name
The logical name of the ActionForward entry to be looked up.

コンストラクタの詳細

ForwardTag

public ForwardTag()
メソッドの詳細

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Defer processing 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
Look up the ActionForward associated with the specified name, and perform a forward or redirect to that path as indicated.

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

doForward

protected void doForward(java.lang.String path)
                  throws javax.servlet.jsp.JspException
Forward to the given path converting exceptions to JspException.

パラメータ:
path - The path to forward to.
例外:
javax.servlet.jsp.JspException
導入されたバージョン:
Struts 1.2

doRedirect

protected void doRedirect(java.lang.String path)
                   throws javax.servlet.jsp.JspException
Redirect to the given path converting exceptions to JspException.

パラメータ:
path - The path to redirect to.
例外:
javax.servlet.jsp.JspException
導入されたバージョン:
Struts 1.2

release

public void release()
Release all allocated resources.



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