📄 serialized-form.html
字号:
<li><code><strong>$M</strong></code> - Replaced by the module prefix for the current module.</li> <li><code><strong>$P</strong></code> - Replaced by the <code>path</code> property of a <A HREF="org/apache/struts/config/ForwardConfig.html"><CODE>ForwardConfig</CODE></A> instance.</li> <li><code><strong>$$</strong></code> - Renders a literal dollar sign ("$") character in the resulting URL.</li> <li>A dollar sign followed by any other character is reserved for future use, and both characters are silently swallowed.</li> <li>All other characters in the pattern are passed through unchanged. </li> </ul> <p>If this property is set to <code>null</code>, a default pattern of <code>$M$P</code> is utilized, which is backwards compatible with the hard coded functionality in prior versions.</p></DL>
<HR>
<H3>
inputForward</H3>
<PRE>
boolean <B>inputForward</B></PRE>
<DL>
<DD><p>Should the <code>input</code> property of <A HREF="org/apache/struts/config/ActionConfig.html"><CODE>ActionConfig</CODE></A> instances associated with this module be treated as the name of a corresponding <A HREF="org/apache/struts/config/ForwardConfig.html"><CODE>ForwardConfig</CODE></A>. A <code>false</code> value treats them as a module-relative path (consistent with the hard coded behavior of earlier versions of Struts.</p><DD><DL>
<DT><B>Since: </B><DD>Struts 1.1</DD>
</DL>
</DD>
</DL>
<HR>
<H3>
locale</H3>
<PRE>
boolean <B>locale</B></PRE>
<DL>
<DD>Should we store a Locale object in the user's session if needed?</DL>
<HR>
<H3>
maxFileSize</H3>
<PRE>
java.lang.String <B>maxFileSize</B></PRE>
<DL>
<DD>The maximum file size to process for file uploads.</DL>
<HR>
<H3>
memFileSize</H3>
<PRE>
java.lang.String <B>memFileSize</B></PRE>
<DL>
<DD>The maximum file size to retain in memory.</DL>
<HR>
<H3>
multipartClass</H3>
<PRE>
java.lang.String <B>multipartClass</B></PRE>
<DL>
<DD>The fully qualified Java class name of the MultipartRequestHandler class to be used.</DL>
<HR>
<H3>
nocache</H3>
<PRE>
boolean <B>nocache</B></PRE>
<DL>
<DD>Should we set no-cache HTTP headers on each response?</DL>
<HR>
<H3>
pagePattern</H3>
<PRE>
java.lang.String <B>pagePattern</B></PRE>
<DL>
<DD><p>The replacement pattern used to determine a context-relative URL from the <code>page</code> attribute of Struts tags and configuration properties. The pattern may consist of any combination of the following markers and characters:</p> <ul> <li><code><strong>$M</strong></code> - Replaced by the module prefix for the current module.</li> <li><code><strong>$P</strong></code> - Replaced by the <code>page</code> attribute value being evaluated.</li> <li><code><strong>$$</strong></code> - Renders a literal dollar sign ("$") character in the resulting URL.</li> <li>A dollar sign followed by any other character is reserved for future use, and both characters are silently swallowed.</li> <li>All other characters in the pattern are passed through unchanged. </li> </ul> <p>If this property is set to <code>null</code>, a default pattern of <code>$M$P</code> is utilized, which is backwards compatible with the hard coded functionality in prior versions.</p></DL>
<HR>
<H3>
processorClass</H3>
<PRE>
java.lang.String <B>processorClass</B></PRE>
<DL>
<DD>The fully qualified class name of the RequestProcessor implementation class to be used for this module.</DL>
<HR>
<H3>
tempDir</H3>
<PRE>
java.lang.String <B>tempDir</B></PRE>
<DL>
<DD>The temporary working directory to use for file uploads.</DL>
<P>
<A NAME="org.apache.struts.config.DataSourceConfig"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Class <A HREF="org/apache/struts/config/DataSourceConfig.html">org.apache.struts.config.DataSourceConfig</A> implements Serializable</B></FONT></TD>
</TR>
</TABLE>
<P>
<A NAME="serializedForm"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Serialized Fields</B></FONT></TD>
</TR>
</TABLE>
<H3>
configured</H3>
<PRE>
boolean <B>configured</B></PRE>
<DL>
<DD>Has this component been completely configured?</DL>
<HR>
<H3>
key</H3>
<PRE>
java.lang.String <B>key</B></PRE>
<DL>
<DD>The servlet context attribute key under which this data source is stored and made available.</DL>
<HR>
<H3>
properties</H3>
<PRE>
java.util.HashMap <B>properties</B></PRE>
<DL>
<DD>The custom configuration properties for this data source implementation.</DL>
<HR>
<H3>
type</H3>
<PRE>
java.lang.String <B>type</B></PRE>
<DL>
<DD>The fully qualified class name of the <code>javax.sql.DataSource</code> implementation class.</DL>
<P>
<A NAME="org.apache.struts.config.ExceptionConfig"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Class <A HREF="org/apache/struts/config/ExceptionConfig.html">org.apache.struts.config.ExceptionConfig</A> implements Serializable</B></FONT></TD>
</TR>
</TABLE>
<P>
<A NAME="serializedForm"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Serialized Fields</B></FONT></TD>
</TR>
</TABLE>
<H3>
configured</H3>
<PRE>
boolean <B>configured</B></PRE>
<DL>
<DD>Has this component been completely configured?</DL>
<HR>
<H3>
bundle</H3>
<PRE>
java.lang.String <B>bundle</B></PRE>
<DL>
<DD>The servlet context attribute under which the message resources bundle to be used for this exception is located. If not set, the default message resources for the current module is assumed.</DL>
<HR>
<H3>
handler</H3>
<PRE>
java.lang.String <B>handler</B></PRE>
<DL>
<DD>The fully qualified Java class name of the exception handler class which should be instantiated to handle this exception.</DL>
<HR>
<H3>
key</H3>
<PRE>
java.lang.String <B>key</B></PRE>
<DL>
<DD>The message resources key specifying the error message associated with this exception.</DL>
<HR>
<H3>
path</H3>
<PRE>
java.lang.String <B>path</B></PRE>
<DL>
<DD>The module-relative path of the resource to forward to if this exception occurs during an <code>Action</code>.</DL>
<HR>
<H3>
scope</H3>
<PRE>
java.lang.String <B>scope</B></PRE>
<DL>
<DD>The scope in which we should expose the ActionError for this exception handler.</DL>
<HR>
<H3>
type</H3>
<PRE>
java.lang.String <B>type</B></PRE>
<DL>
<DD>The fully qualified Java class name of the exception that is to be handled by this handler.</DL>
<P>
<A NAME="org.apache.struts.config.FormBeanConfig"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Class <A HREF="org/apache/struts/config/FormBeanConfig.html">org.apache.struts.config.FormBeanConfig</A> implements Serializable</B></FONT></TD>
</TR>
</TABLE>
<P>
<A NAME="serializedForm"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Serialized Fields</B></FONT></TD>
</TR>
</TABLE>
<H3>
configured</H3>
<PRE>
boolean <B>configured</B></PRE>
<DL>
<DD>Has this component been completely configured?</DL>
<HR>
<H3>
formProperties</H3>
<PRE>
java.util.HashMap <B>formProperties</B></PRE>
<DL>
<DD>The set of FormProperty elements defining dynamic form properties for this form bean, keyed by property name.</DL>
<HR>
<H3>
lock</H3>
<PRE>
java.lang.String <B>lock</B></PRE>
<DL>
<DD><p>The lockable object we can synchronize on when creating DynaActionFormClass.</p></DL>
<HR>
<H3>
dynamic</H3>
<PRE>
boolean <B>dynamic</B></PRE>
<DL>
<DD>Is the form bean class an instance of DynaActionForm with dynamic properties?</DL>
<HR>
<H3>
name</H3>
<PRE>
java.lang.String <B>name</B></PRE>
<DL>
<DD>The unique identifier of this form bean, which is used to reference this bean in <code>ActionMapping</code> instances as well as for the name of the request or session attribute under which the corresponding form bean instance is created or accessed.</DL>
<HR>
<H3>
type</H3>
<PRE>
java.lang.String <B>type</B></PRE>
<DL>
<DD>The fully qualified Java class name of the implementation class to be used or generated.</DL>
<HR>
<H3>
restricted</H3>
<PRE>
boolean <B>restricted</B></PRE>
<DL>
<DD>Is this DynaClass currently restricted (for DynaBeans with a MutableDynaClass).</DL>
<P>
<A NAME="org.apache.struts.config.FormPropertyConfig"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Class <A HREF="org/apache/struts/config/FormPropertyConfig.html">org.apache.struts.config.FormPropertyConfig</A> implements Serializable</B></FONT></TD>
</TR>
</TABLE>
<P>
<A NAME="serializedForm"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Serialized Fields</B></FONT></TD>
</TR>
</TABLE>
<H3>
configured</H3>
<PRE>
boolean <B>configured</B></PRE>
<DL>
<DD>Has this component been completely configured?</DL>
<HR>
<H3>
initial</H3>
<PRE>
java.lang.String <B>initial</B></PRE>
<DL>
<DD>String representation of the initial value for this property.</DL>
<HR>
<H3>
name</H3>
<PRE>
java.lang.String <B>name</B></PRE>
<DL>
<DD>The JavaBean property name of the property described by this element.</DL>
<HR>
<H3>
size</H3>
<PRE>
int <B>size</B></PRE>
<DL>
<DD><p>The size of the array to be created if this property is an array type and there is no specified <code>initial</code> value. This value must be non-negative.</p><DD><DL>
<DT><B>Since: </B><DD>Struts 1.1</DD>
</DL>
</DD>
</DL>
<HR>
<H3>
type</H3>
<PRE>
java.lang.String <B>type</B></PRE>
<DL>
<DD>The fully qualified Java class name of the implementation class of this bean property, optionally followed by <code>[]</code> to indicate that the property is indexed.</DL>
<P>
<A NAME="org.apache.struts.config.ForwardConfig"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Class <A HREF="org/apache/struts/config/ForwardConfig.html">org.apache.struts.config.ForwardConfig</A> implements Serializable</B></FONT></TD>
</TR>
</TABLE>
<P>
<A NAME="serializedForm"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Serialized Fields</B></FONT></TD>
</TR>
</TABLE>
<H3>
configured</H3>
<PRE>
boolean <B>configured</B></PRE>
<DL>
<DD>Has this component been completely configured?</DL>
<HR>
<H3>
contextRelative</H3>
<PRE>
boolean <B>contextRelative</B></PRE>
<DL>
<DD><B>Deprecated.</B> <I>Use module property instead; will be removed in a release following 1.2.0.</I>
<P>
<DD>Should the value of the <code>path</code> property be considered context-relative if it starts with a slash (and therefore not prefixed with the module prefix?</DL>
<HR>
<H3>
name</H3>
<PRE>
java.lang.String <B>name</B></PRE>
<DL>
<DD>The unique identifier of this forward, which is used to reference it in <code>Action</code> classes.</DL>
<HR>
<H3>
path</H3>
<PRE>
java.lang.String <B>path</B></PRE>
<DL>
<DD><p>The URL to which this <code>ForwardConfig</code> entry points, which must start with a slash ("/") character. It is interpreted according to the following rules:</p> <ul> <li>If <code>contextRelative</code> property is <code>true</code>, the path is considered to be context-relative within the current web application (even if we are in a named module). It will be prefixed by the context path to create a server-relative URL.</li> <li>If the <code>contextRelative</code> property is false, the path is considered to be the module-relative portion of the URL. It will be used as the replacement for the <code>$P</code> marker in the <code>forwardPattern</code> property defined on the <A HREF="org/apache/struts/config/ControllerConfig.html"><CODE>ControllerConfig</CODE></A> element for our current module. For the default <code>forwardPattern</code> value of <code>$C$M$P</code>, the resulting server-relative URL will be the concatenation of the context path, the module prefix, and the <code>path</code> from this <code>ForwardConfig</code>.</li> </ul></DL>
<HR>
<H3>
module</H3>
<PRE>
java.lang.String <B>module</B></PRE>
<DL>
<DD><p>The prefix of the module to which this <code>ForwardConfig</code> entry points, which must start with a slash ("/") character. </p> <p>Usage note: If a forward config is used in a hyperlink, and a module is specified, the path must lead to another action and not directly to a page. This is in keeping with rule that in a modular application all links must be to an action rather than a page. </p></DL>
<HR>
<H3>
redirect</H3>
<PRE>
boolean <B>redirect</B></PRE>
<DL>
<DD>Should a redirect be used to transfer control to the specified path?</DL>
<P>
<A NAME="org.apache.struts.config.MessageResourcesConfig"><!-- --></A>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -