📄 actionredirect.html
字号:
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/action/ActionRedirect.html#toString()">toString</A></B>()</CODE>
<BR>
Return a string description of this object.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_org.apache.struts.config.ForwardConfig"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class org.apache.struts.config.<A HREF="../../../../org/apache/struts/config/ForwardConfig.html">ForwardConfig</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../org/apache/struts/config/ForwardConfig.html#freeze()">freeze</A>, <A HREF="../../../../org/apache/struts/config/ForwardConfig.html#getContextRelative()">getContextRelative</A>, <A HREF="../../../../org/apache/struts/config/ForwardConfig.html#getModule()">getModule</A>, <A HREF="../../../../org/apache/struts/config/ForwardConfig.html#getName()">getName</A>, <A HREF="../../../../org/apache/struts/config/ForwardConfig.html#getRedirect()">getRedirect</A>, <A HREF="../../../../org/apache/struts/config/ForwardConfig.html#setContextRelative(boolean)">setContextRelative</A>, <A HREF="../../../../org/apache/struts/config/ForwardConfig.html#setModule(java.lang.String)">setModule</A>, <A HREF="../../../../org/apache/struts/config/ForwardConfig.html#setName(java.lang.String)">setName</A>, <A HREF="../../../../org/apache/struts/config/ForwardConfig.html#setPath(java.lang.String)">setPath</A>, <A HREF="../../../../org/apache/struts/config/ForwardConfig.html#setRedirect(boolean)">setRedirect</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><clinit>, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="log"><!-- --></A><H3>
log</H3>
<PRE>
protected static final org.apache.commons.logging.Log <B>log</B></PRE>
<DL>
<DD><p>Commons logging instance.</p></DL>
<HR>
<A NAME="parameterValues"><!-- --></A><H3>
parameterValues</H3>
<PRE>
protected java.util.Map <B>parameterValues</B></PRE>
<DL>
<DD><p>Holds the redirect parameters. Each entry is either a String or a String[] depending on whether it has one or more entries.</p></DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="ActionRedirect()"><!-- --></A><H3>
ActionRedirect</H3>
<PRE>
public <B>ActionRedirect</B>()</PRE>
<DL>
<DD><p>Construct a new instance with redirect set to true and initialize parameter lists.</p></DL>
<HR>
<A NAME="ActionRedirect(java.lang.String)"><!-- --></A><H3>
ActionRedirect</H3>
<PRE>
public <B>ActionRedirect</B>(java.lang.String path)</PRE>
<DL>
<DD><p>Construct a new instance with the specified path and initialize parameter lists.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>path</CODE> - Path for this instance</DL>
</DD>
</DL>
<HR>
<A NAME="ActionRedirect(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
ActionRedirect</H3>
<PRE>
public <B>ActionRedirect</B>(java.lang.String name, java.lang.String path, java.lang.String module)</PRE>
<DL>
<DD><p>Construct a new instance with the specified values and initialize parameter lists.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of this instance<DD><CODE>path</CODE> - Path for this instance<DD><CODE>module</CODE> - Module prefix, if any</DL>
</DD>
</DL>
<HR>
<A NAME="ActionRedirect(org.apache.struts.config.ForwardConfig)"><!-- --></A><H3>
ActionRedirect</H3>
<PRE>
public <B>ActionRedirect</B>(<A HREF="../../../../org/apache/struts/config/ForwardConfig.html">ForwardConfig</A> baseConfig)</PRE>
<DL>
<DD><p>Construct a new instance with a <A HREF="../../../../org/apache/struts/config/ForwardConfig.html"><CODE>ForwardConfig</CODE></A> object to copy name, path, and contextRelative values from.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>baseConfig</CODE> - the <A HREF="../../../../org/apache/struts/config/ForwardConfig.html"><CODE>ForwardConfig</CODE></A> to copy configuration values from</DL>
</DD>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="initializeParameters()"><!-- --></A><H3>
initializeParameters</H3>
<PRE>
private void <B>initializeParameters</B>()</PRE>
<DL>
<DD><p>Initializes the internal objects used to hold parameter values.</p></DL>
<HR>
<A NAME="addParameter(java.lang.String, java.lang.Object)"><!-- --></A><H3>
addParameter</H3>
<PRE>
public void <B>addParameter</B>(java.lang.String fieldName, java.lang.Object valueObj)</PRE>
<DL>
<DD><p>Adds the object's toString() to the list of parameters if it's not null, or an empty string with the given fieldName if it is.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>fieldName</CODE> - the name to use for the parameter<DD><CODE>valueObj</CODE> - the value for this parameter</DL>
</DD>
</DL>
<HR>
<A NAME="getOriginalPath()"><!-- --></A><H3>
getOriginalPath</H3>
<PRE>
public java.lang.String <B>getOriginalPath</B>()</PRE>
<DL>
<DD><p>Get the original path without the parameters added at runtime.</p><DD><DL>
<DT><B>Returns:</B><DD>the original path as configured.</DL>
</DD>
</DL>
<HR>
<A NAME="getPath()"><!-- --></A><H3>
getPath</H3>
<PRE>
public java.lang.String <B>getPath</B>()</PRE>
<DL>
<DD><p>Get the path for this object, including any parameters that may have been added at runtime.</p><DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/struts/config/ForwardConfig.html#getPath()">getPath</A></CODE> in class <CODE><A HREF="../../../../org/apache/struts/config/ForwardConfig.html">ForwardConfig</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getParameterString()"><!-- --></A><H3>
getParameterString</H3>
<PRE>
public java.lang.String <B>getParameterString</B>()</PRE>
<DL>
<DD><p>Forms the string containing the parameters passed onto this object thru calls to addParameter().</p><DD><DL>
<DT><B>Returns:</B><DD>a string which can be appended to the URLs. The return string does not include a leading question mark (?).</DL>
</DD>
</DL>
<HR>
<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public java.lang.String <B>toString</B>()</PRE>
<DL>
<DD><p>Return a string description of this object.</p><DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/struts/config/ForwardConfig.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../../../org/apache/struts/config/ForwardConfig.html">ForwardConfig</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a string containing the original path for this object and the parameters it currently holds</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_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> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ActionRedirect.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/apache/struts/action/ActionMessages.ActionMessageItem.html"><B>PREV CLASS</B></A>
<A HREF="../../../../org/apache/struts/action/ActionServlet.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>
<A HREF="ActionRedirect.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
Copyright
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -