📄 controllerconfig.html
字号:
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/config/ControllerConfig.html#getTempDir()">getTempDir</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/config/ControllerConfig.html#setBufferSize(int)">setBufferSize</A></B>(int bufferSize)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/config/ControllerConfig.html#setContentType(java.lang.String)">setContentType</A></B>(java.lang.String contentType)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/config/ControllerConfig.html#setForwardPattern(java.lang.String)">setForwardPattern</A></B>(java.lang.String forwardPattern)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/config/ControllerConfig.html#setInputForward(boolean)">setInputForward</A></B>(boolean inputForward)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/config/ControllerConfig.html#setLocale(boolean)">setLocale</A></B>(boolean locale)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/config/ControllerConfig.html#setMaxFileSize(java.lang.String)">setMaxFileSize</A></B>(java.lang.String maxFileSize)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/config/ControllerConfig.html#setMemFileSize(java.lang.String)">setMemFileSize</A></B>(java.lang.String memFileSize)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/config/ControllerConfig.html#setMultipartClass(java.lang.String)">setMultipartClass</A></B>(java.lang.String multipartClass)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/config/ControllerConfig.html#setNocache(boolean)">setNocache</A></B>(boolean nocache)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/config/ControllerConfig.html#setPagePattern(java.lang.String)">setPagePattern</A></B>(java.lang.String pagePattern)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/config/ControllerConfig.html#setProcessorClass(java.lang.String)">setProcessorClass</A></B>(java.lang.String processorClass)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/config/ControllerConfig.html#setTempDir(java.lang.String)">setTempDir</A></B>(java.lang.String tempDir)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/config/ControllerConfig.html#toString()">toString</A></B>()</CODE>
<BR>
Return a String representation of this object.</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="configured"><!-- --></A><H3>
configured</H3>
<PRE>
protected boolean <B>configured</B></PRE>
<DL>
<DD>Has this component been completely configured?</DL>
<HR>
<A NAME="bufferSize"><!-- --></A><H3>
bufferSize</H3>
<PRE>
protected int <B>bufferSize</B></PRE>
<DL>
<DD>The input buffer size for file uploads.</DL>
<HR>
<A NAME="contentType"><!-- --></A><H3>
contentType</H3>
<PRE>
protected java.lang.String <B>contentType</B></PRE>
<DL>
<DD>The content type and character encoding to be set on each response.</DL>
<HR>
<A NAME="forwardPattern"><!-- --></A><H3>
forwardPattern</H3>
<PRE>
protected java.lang.String <B>forwardPattern</B></PRE>
<DL>
<DD><p>The replacement pattern used to determine a context-relative URL from a <A HREF="../../../../org/apache/struts/config/ForwardConfig.html"><CODE>ForwardConfig</CODE></A> element. 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>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>
<A NAME="inputForward"><!-- --></A><H3>
inputForward</H3>
<PRE>
protected 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>
<A NAME="locale"><!-- --></A><H3>
locale</H3>
<PRE>
protected boolean <B>locale</B></PRE>
<DL>
<DD>Should we store a Locale object in the user's session if needed?</DL>
<HR>
<A NAME="maxFileSize"><!-- --></A><H3>
maxFileSize</H3>
<PRE>
protected java.lang.String <B>maxFileSize</B></PRE>
<DL>
<DD>The maximum file size to process for file uploads.</DL>
<HR>
<A NAME="memFileSize"><!-- --></A><H3>
memFileSize</H3>
<PRE>
protected java.lang.String <B>memFileSize</B></PRE>
<DL>
<DD>The maximum file size to retain in memory.</DL>
<HR>
<A NAME="multipartClass"><!-- --></A><H3>
multipartClass</H3>
<PRE>
protected java.lang.String <B>multipartClass</B></PRE>
<DL>
<DD>The fully qualified Java class name of the MultipartRequestHandler class to be used.</DL>
<HR>
<A NAME="nocache"><!-- --></A><H3>
nocache</H3>
<PRE>
protected boolean <B>nocache</B></PRE>
<DL>
<DD>Should we set no-cache HTTP headers on each response?</DL>
<HR>
<A NAME="pagePattern"><!-- --></A><H3>
pagePattern</H3>
<PRE>
protected 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>
<A NAME="processorClass"><!-- --></A><H3>
processorClass</H3>
<PRE>
protected 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>
<A NAME="tempDir"><!-- --></A><H3>
tempDir</H3>
<PRE>
protected java.lang.String <B>tempDir</B></PRE>
<DL>
<DD>The temporary working directory to use for file uploads.</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="ControllerConfig()"><!-- --></A><H3>
ControllerConfig</H3>
<PRE>
public <B>ControllerConfig</B>()</PRE>
<DL>
</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="getBufferSize()"><!-- --></A><H3>
getBufferSize</H3>
<PRE>
public int <B>getBufferSize</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -