📄 confighelper.html
字号:
<A NAME="forward"><!-- --></A><H3>
forward</H3>
<PRE>
private <A HREF="../../../../org/apache/struts/action/ActionForward.html">ActionForward</A> <B>forward</B></PRE>
<DL>
<DD>The forward associated with this instance.</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="ConfigHelper()"><!-- --></A><H3>
ConfigHelper</H3>
<PRE>
public <B>ConfigHelper</B>()</PRE>
<DL>
</DL>
<HR>
<A NAME="ConfigHelper(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)"><!-- --></A><H3>
ConfigHelper</H3>
<PRE>
public <B>ConfigHelper</B>(javax.servlet.ServletContext application, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)</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="setApplication(javax.servlet.ServletContext)"><!-- --></A><H3>
setApplication</H3>
<PRE>
public void <B>setApplication</B>(javax.servlet.ServletContext application)</PRE>
<DL>
<DD>Set the application associated with this instance. [servlet.getServletContext()]<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setSession(javax.servlet.http.HttpSession)"><!-- --></A><H3>
setSession</H3>
<PRE>
public void <B>setSession</B>(javax.servlet.http.HttpSession session)</PRE>
<DL>
<DD>Set the session associated with this instance.<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setRequest(javax.servlet.http.HttpServletRequest)"><!-- --></A><H3>
setRequest</H3>
<PRE>
public void <B>setRequest</B>(javax.servlet.http.HttpServletRequest request)</PRE>
<DL>
<DD>Set the request associated with this object. Session object is also set or cleared.<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setResponse(javax.servlet.http.HttpServletResponse)"><!-- --></A><H3>
setResponse</H3>
<PRE>
public void <B>setResponse</B>(javax.servlet.http.HttpServletResponse response)</PRE>
<DL>
<DD>Set the response associated with this isntance. Session object is also set or cleared.<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setForward(org.apache.struts.action.ActionForward)"><!-- --></A><H3>
setForward</H3>
<PRE>
public void <B>setForward</B>(<A HREF="../../../../org/apache/struts/action/ActionForward.html">ActionForward</A> forward)</PRE>
<DL>
<DD>Set the forward associated with this instance.<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setResources(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)"><!-- --></A><H3>
setResources</H3>
<PRE>
public void <B>setResources</B>(javax.servlet.ServletContext application, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)</PRE>
<DL>
<DD>Set the application and request for this object instance. The ServletContext can be set by any servlet in the application. The request should be the instant request. Most of the other methods retrieve their own objects by reference to the application, request, or session attributes. Do not call other methods without setting these first! This is also called by the convenience constructor.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>application</CODE> - - The associated ServletContext.<DD><CODE>request</CODE> - - The associated HTTP request.<DD><CODE>response</CODE> - - The associated HTTP response.</DL>
</DD>
</DL>
<HR>
<A NAME="getDataSource()"><!-- --></A><H3>
getDataSource</H3>
<PRE>
public javax.sql.DataSource <B>getDataSource</B>()</PRE>
<DL>
<DD>The <strong>default</strong> configured data source (which must implement <code>javax.sql.DataSource</code>), if one is configured for this application.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/apache/struts/config/ConfigHelperInterface.html#getDataSource()">getDataSource</A></CODE> in interface <CODE><A HREF="../../../../org/apache/struts/config/ConfigHelperInterface.html">ConfigHelperInterface</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getActionMessages()"><!-- --></A><H3>
getActionMessages</H3>
<PRE>
public <A HREF="../../../../org/apache/struts/action/ActionMessages.html">ActionMessages</A> <B>getActionMessages</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/struts/config/ConfigHelperInterface.html">ConfigHelperInterface</A></CODE></B></DD>
<DD>The <code>org.apache.struts.action.ActionFormBeans</code> collection for this application.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/apache/struts/config/ConfigHelperInterface.html#getActionMessages()">getActionMessages</A></CODE> in interface <CODE><A HREF="../../../../org/apache/struts/config/ConfigHelperInterface.html">ConfigHelperInterface</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getMessageResources()"><!-- --></A><H3>
getMessageResources</H3>
<PRE>
public <A HREF="../../../../org/apache/struts/util/MessageResources.html">MessageResources</A> <B>getMessageResources</B>()</PRE>
<DL>
<DD>The application resources for this application.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/apache/struts/config/ConfigHelperInterface.html#getMessageResources()">getMessageResources</A></CODE> in interface <CODE><A HREF="../../../../org/apache/struts/config/ConfigHelperInterface.html">ConfigHelperInterface</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getServletMapping()"><!-- --></A><H3>
getServletMapping</H3>
<PRE>
public java.lang.String <B>getServletMapping</B>()</PRE>
<DL>
<DD>The path-mapped pattern (<code>/action/*</code>) or extension mapped pattern ((<code>*.do</code>) used to determine our Action URIs in this application.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/apache/struts/config/ConfigHelperInterface.html#getServletMapping()">getServletMapping</A></CODE> in interface <CODE><A HREF="../../../../org/apache/struts/config/ConfigHelperInterface.html">ConfigHelperInterface</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getToken()"><!-- --></A><H3>
getToken</H3>
<PRE>
public java.lang.String <B>getToken</B>()</PRE>
<DL>
<DD>The transaction token stored in this session, if it is used.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/apache/struts/config/ConfigHelperInterface.html#getToken()">getToken</A></CODE> in interface <CODE><A HREF="../../../../org/apache/struts/config/ConfigHelperInterface.html">ConfigHelperInterface</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getException()"><!-- --></A><H3>
getException</H3>
<PRE>
public java.lang.Throwable <B>getException</B>()</PRE>
<DL>
<DD>The runtime JspException that may be been thrown by a Struts tag extension, or compatible presentation extension, and placed in the request.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/apache/struts/config/ConfigHelperInterface.html#getException()">getException</A></CODE> in interface <CODE><A HREF="../../../../org/apache/struts/config/ConfigHelperInterface.html">ConfigHelperInterface</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getMultipartRequestWrapper()"><!-- --></A><H3>
getMultipartRequestWrapper</H3>
<PRE>
public <A HREF="../../../../org/apache/struts/upload/MultipartRequestWrapper.html">MultipartRequestWrapper</A> <B>getMultipartRequestWrapper</B>()</PRE>
<DL>
<DD>The multipart object for this request.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/apache/struts/config/ConfigHelperInterface.html#getMultipartRequestWrapper()">getMultipartRequestWrapper</A></CODE> in interface <CODE><A HREF="../../../../org/apache/struts/config/ConfigHelperInterface.html">ConfigHelperInterface</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getMapping()"><!-- --></A><H3>
getMapping</H3>
<PRE>
public <A HREF="../../../../org/apache/struts/action/ActionMapping.html">ActionMapping</A> <B>getMapping</B>()</PRE>
<DL>
<DD>The <code>org.apache.struts.ActionMapping</code> instance for this request.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/apache/struts/config/ConfigHelperInterface.html#getMapping()">getMapping</A></CODE> in interface <CODE><A HREF="../../../../org/apache/struts/config/ConfigHelperInterface.html">ConfigHelperInterface</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="isMessage(java.lang.String)"><!-- --></A><H3>
isMessage</H3>
<PRE>
public boolean <B>isMessage</B>(java.lang.String key)</PRE>
<DL>
<DD>Return true if a message string for the specified message key is present for the user's Locale.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/apache/struts/config/ConfigHelperInterface.html#isMessage(java.lang.String)">isMessage</A></CODE> in interface <CODE><A HREF="../../../../org/apache/struts/config/ConfigHelperInterface.html">ConfigHelperInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - Message key</DL>
</DD>
</DL>
<HR>
<A NAME="getActionForm()"><!-- --></A><H3>
getActionForm</H3>
<PRE>
public <A HREF="../../../../org/apache/struts/action/ActionForm.html">ActionForm</A> <B>getActionForm</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/apache/struts/config/ConfigHelperInterface.html#getActionForm()">getActionForm</A></CODE> in interface <CODE><A HREF="../../../../org/apache/struts/config/ConfigHelperInterface.html">ConfigHelperInterface</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getFormBean(java.lang.String)"><!-- --></A><H3>
getFormBean</H3>
<PRE>
public <A HREF="../../../../org/apache/struts/action/ActionFormBean.html">ActionFormBean</A> <B>getFormBean</B>(java.lang.String name)</PRE>
<DL>
<DD>Return the form bean definition associated with the specified logical name, if any; otherwise return <code>null</code>.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/apache/struts/config/ConfigHelperInterface.html#getFormBean(java.lang.String)">getFormBean</A></CODE> in interface <CODE><A HREF="../../../../org/apache/struts/config/ConfigHelperInterface.html">ConfigHelperInterface</A></CODE></DL>
</DD>
<DD><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -