gettag.html

来自「struts api,学习使用struts必备的文档」· HTML 代码 · 共 311 行 · 第 1/2 页

HTML
311
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Thu Mar 09 15:31:24 GMT 2006 -->
<TITLE>
Apache Struts API Documentation: Class  GetTag
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/GetTag.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/apache/struts/taglib/tiles/GetAttributeTag.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/apache/struts/taglib/tiles/ImportAttributeTag.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="GetTag.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;<A HREF="#inner_classes_inherited_from_class_org.apache.struts.taglib.tiles.InsertTag">INNER</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.struts.taglib.tiles.InsertTag">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.struts.taglib.tiles</FONT>
<BR>
Class  GetTag</H2>
<PRE>
java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--<A HREF="../../../../../org/apache/struts/taglib/tiles/DefinitionTagSupport.html">org.apache.struts.taglib.tiles.DefinitionTagSupport</A>
              |
              +--<A HREF="../../../../../org/apache/struts/taglib/tiles/InsertTag.html">org.apache.struts.taglib.tiles.InsertTag</A>
                    |
                    +--<B>org.apache.struts.taglib.tiles.GetTag</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/struts/taglib/tiles/ComponentConstants.html">ComponentConstants</A>, <A HREF="../../../../../org/apache/struts/taglib/tiles/PutListTagParent.html">PutListTagParent</A>, <A HREF="../../../../../org/apache/struts/taglib/tiles/PutTagParent.html">PutTagParent</A>, java.io.Serializable, javax.servlet.jsp.tagext.Tag</DD>
</DL>
<HR>
<DL>
<DT>public class <B>GetTag</B><DT>extends <A HREF="../../../../../org/apache/struts/taglib/tiles/InsertTag.html">InsertTag</A></DL>

<P>
This is the tag handler for &lt;tiles:get&gt;, which gets content from the request scope and either includes the content or prints it, depending upon the value of the content's <code>direct</code> attribute. This tag is intended to be compatible with the same tag from Templates (David Geary). Implementation extends InsertTag for facility (no so well). The only difference is the default value of attribute 'ignore', which is <code>true</code> for this tag (default behavior of David Geary's templates).
<P>
<DL>
<DT><B>See Also: </B><DD><A HREF="../../../../../serialized-form.html#org.apache.struts.taglib.tiles.GetTag">Serialized Form</A></DL>
<HR>

<P>
<!-- ======== INNER CLASS SUMMARY ======== -->

<A NAME="inner_classes_inherited_from_class_org.apache.struts.taglib.tiles.InsertTag"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Inner classes inherited from class org.apache.struts.taglib.tiles.<A HREF="../../../../../org/apache/struts/taglib/tiles/InsertTag.html">InsertTag</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../org/apache/struts/taglib/tiles/InsertTag.DirectStringHandler.html">InsertTag.DirectStringHandler</A>, <A HREF="../../../../../org/apache/struts/taglib/tiles/InsertTag.InsertHandler.html">InsertTag.InsertHandler</A>, <A HREF="../../../../../org/apache/struts/taglib/tiles/InsertTag.TagHandler.html">InsertTag.TagHandler</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- =========== FIELD SUMMARY =========== -->

<A NAME="fields_inherited_from_class_org.apache.struts.taglib.tiles.InsertTag"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from class org.apache.struts.taglib.tiles.<A HREF="../../../../../org/apache/struts/taglib/tiles/InsertTag.html">InsertTag</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../org/apache/struts/taglib/tiles/InsertTag.html#attribute">attribute</A>, <A HREF="../../../../../org/apache/struts/taglib/tiles/InsertTag.html#beanName">beanName</A>, <A HREF="../../../../../org/apache/struts/taglib/tiles/InsertTag.html#beanProperty">beanProperty</A>, <A HREF="../../../../../org/apache/struts/taglib/tiles/InsertTag.html#beanScope">beanScope</A>, <A HREF="../../../../../org/apache/struts/taglib/tiles/InsertTag.html#cachedCurrentContext">cachedCurrentContext</A>, <A HREF="../../../../../org/apache/struts/taglib/tiles/InsertTag.html#definitionName">definitionName</A>, <A HREF="../../../../../org/apache/struts/taglib/tiles/InsertTag.html#flush">flush</A>, <A HREF="../../../../../org/apache/struts/taglib/tiles/InsertTag.html#isErrorIgnored">isErrorIgnored</A>, <A HREF="../../../../../org/apache/struts/taglib/tiles/InsertTag.html#log">log</A>, <A HREF="../../../../../org/apache/struts/taglib/tiles/InsertTag.html#name">name</A>, <A HREF="../../../../../org/apache/struts/taglib/tiles/InsertTag.html#pageContext">pageContext</A>, <A HREF="../../../../../org/apache/struts/taglib/tiles/InsertTag.html#processEndTag">processEndTag</A>, <A HREF="../../../../../org/apache/struts/taglib/tiles/InsertTag.html#ROLE_DELIMITER">ROLE_DELIMITER</A>, <A HREF="../../../../../org/apache/struts/taglib/tiles/InsertTag.html#tagHandler">tagHandler</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_org.apache.struts.taglib.tiles.DefinitionTagSupport"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from class org.apache.struts.taglib.tiles.<A HREF="../../../../../org/apache/struts/taglib/tiles/DefinitionTagSupport.html">DefinitionTagSupport</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../org/apache/struts/taglib/tiles/DefinitionTagSupport.html#controllerName">controllerName</A>, <A HREF="../../../../../org/apache/struts/taglib/tiles/DefinitionTagSupport.html#controllerType">controllerType</A>, <A HREF="../../../../../org/apache/struts/taglib/tiles/DefinitionTagSupport.html#page">page</A>, <A HREF="../../../../../org/apache/struts/taglib/tiles/DefinitionTagSupport.html#role">role</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_javax.servlet.jsp.tagext.TagSupport"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from class javax.servlet.jsp.tagext.TagSupport</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>id, parent, values</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_org.apache.struts.taglib.tiles.ComponentConstants"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from interface org.apache.struts.taglib.tiles.<A HREF="../../../../../org/apache/struts/taglib/tiles/ComponentConstants.html">ComponentConstants</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../org/apache/struts/taglib/tiles/ComponentConstants.html#COMPONENT_CONTEXT">COMPONENT_CONTEXT</A>, <A HREF="../../../../../org/apache/struts/taglib/tiles/ComponentConstants.html#COMPONENT_SCOPE">COMPONENT_SCOPE</A>, <A HREF="../../../../../org/apache/struts/taglib/tiles/ComponentConstants.html#EXCEPTION_KEY">EXCEPTION_KEY</A>, <A HREF="../../../../../org/apache/struts/taglib/tiles/ComponentConstants.html#LOCALE_KEY">LOCALE_KEY</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_javax.servlet.jsp.tagext.Tag"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from interface javax.servlet.jsp.tagext.Tag</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE</CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?