?? dispatchaction.html
字號(hào):
</TR></TABLE> <A NAME="methods_inherited_from_class_com.ibm.portal.struts.action.StrutsAction"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class com.ibm.portal.struts.action.<A HREF="../../../../../com/ibm/portal/struts/action/StrutsAction.html" title="class in com.ibm.portal.struts.action">StrutsAction</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../com/ibm/portal/struts/action/StrutsAction.html#execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)">execute</A>, <A HREF="../../../../../com/ibm/portal/struts/action/StrutsAction.html#execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.portlet.PortletRequest, javax.portlet.PortletResponse)">execute</A>, <A HREF="../../../../../com/ibm/portal/struts/action/StrutsAction.html#execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.portlet.RenderRequest, javax.portlet.RenderResponse)">execute</A>, <A HREF="../../../../../com/ibm/portal/struts/action/StrutsAction.html#execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.ServletRequest, javax.servlet.ServletResponse)">execute</A>, <A HREF="../../../../../com/ibm/portal/struts/action/StrutsAction.html#sendError(javax.portlet.ActionRequest, int)">sendError</A>, <A HREF="../../../../../com/ibm/portal/struts/action/StrutsAction.html#sendError(javax.portlet.ActionRequest, int, java.lang.String)">sendError</A>, <A HREF="../../../../../com/ibm/portal/struts/action/StrutsAction.html#sendError(javax.portlet.PortletRequest, int)">sendError</A>, <A HREF="../../../../../com/ibm/portal/struts/action/StrutsAction.html#sendError(javax.portlet.PortletRequest, int, java.lang.String)">sendError</A>, <A HREF="../../../../../com/ibm/portal/struts/action/StrutsAction.html#sendError(javax.portlet.RenderRequest, int)">sendError</A>, <A HREF="../../../../../com/ibm/portal/struts/action/StrutsAction.html#sendError(javax.portlet.RenderRequest, int, java.lang.String)">sendError</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_org.apache.struts.action.Action"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class org.apache.struts.action.Action</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>generateToken, getDataSource, getDataSource, getLocale, getResources, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, perform, perform, resetToken, saveErrors, saveMessages, saveToken, setLocale, setServlet, toHex</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="clazz"><!-- --></A><H3>clazz</H3><PRE>protected java.lang.Class <B>clazz</B></PRE><DL><DD>The Class instance of this <code>DispatchAction</code> class.<P><DL></DL></DL><HR><A NAME="log"><!-- --></A><H3>log</H3><PRE>protected static org.apache.commons.logging.Log <B>log</B></PRE><DL><DD>Commons Logging instance.<P><DL></DL></DL><HR><A NAME="messages"><!-- --></A><H3>messages</H3><PRE>protected static org.apache.struts.util.MessageResources <B>messages</B></PRE><DL><DD>The message resources for this package.<P><DL></DL></DL><HR><A NAME="methods"><!-- --></A><H3>methods</H3><PRE>protected java.util.HashMap <B>methods</B></PRE><DL><DD><p> The set of Method objects introspected for this class, keyed by method name. This collection is populated as different methods are called, so that introspection needs to occur only once per method name.</p> <p>Derived from the Struts DispatchAction javadoc.</p><P><DL></DL></DL><HR><A NAME="types"><!-- --></A><H3>types</H3><PRE>protected java.lang.Class[] <B>types</B></PRE><DL><DD><p> The set of argument type classes for the reflected method call. These are the same for all calls, so calculate them only once.</p> <p>Derived from the Struts DispatchAction javadoc.</p><P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="DispatchAction()"><!-- --></A><H3>DispatchAction</H3><PRE>public <B>DispatchAction</B>()</PRE><DL><DD>DispatchAction constructor.<P></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.portlet.ActionRequest, javax.portlet.ActionResponse)"><!-- --></A><H3>execute</H3><PRE>public org.apache.struts.action.ActionForward <B>execute</B>(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.portlet.ActionRequest request, javax.portlet.ActionResponse response) throws java.lang.Exception</PRE><DL><DD>Processes the current request based on the ActionMapping information. The processing should return an ActionForward, to control the processing. This implementation does not allow the response object to be written to directly, so an ActionForward should be returned. A <code>null</code> return value will stop the request processing, but will not result in the creation of a new <code>IViewCommand</code><P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/ibm/portal/struts/action/StrutsAction.html#execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.portlet.ActionRequest, javax.portlet.ActionResponse)">execute</A></CODE> in class <CODE><A HREF="../../../../../com/ibm/portal/struts/action/StrutsAction.html" title="class in com.ibm.portal.struts.action">StrutsAction</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>mapping</CODE> - The ActionMapping used to select this instance<DD><CODE>form</CODE> - The optional ActionForm bean for this request (if any)<DD><CODE>request</CODE> - The portlet request being processed<DD><CODE>response</CODE> - The portlet response being processed<DT><B>Returns:</B><DD>the action forward for the mapping parameter<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an exception occurs</DL></DD></DL><HR><A NAME="unspecified(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.portlet.ActionRequest)"><!-- --></A><H3>unspecified</H3><PRE>protected org.apache.struts.action.ActionForward <B>unspecified</B>(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.portlet.ActionRequest request) throws java.lang.Exception</PRE><DL><DD><p> Method which is dispatched to when there is no value for specified request parameter included in the request. Subclasses of <code>DispatchAction</code> should override this method if they wish to provide default behavior different than producing an HTTP "Bad Request" error. </p> <p>Derived from the Struts DispatchAction javadoc</p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>mapping</CODE> - The ActionMapping used to select this instance<DD><CODE>form</CODE> - The optional ActionForm bean for this request (if any)<DD><CODE>request</CODE> - The portlet request being processed<DT><B>Returns:</B><DD>the action forward for the unspecified case, can be <code>null</code><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an exception occurs</DL></DD></DL><HR><A NAME="dispatchMethod(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.portlet.ActionRequest, javax.portlet.ActionResponse, java.lang.String)"><!-- --></A><H3>dispatchMethod</H3><PRE>protected org.apache.struts.action.ActionForward <B>dispatchMethod</B>(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.portlet.ActionRequest request, javax.portlet.ActionResponse response, java.lang.String name) throws java.lang.Exception</PRE><DL><DD>Dispatches to the specified method.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>mapping</CODE> - The ActionMapping used to select this instance<DD><CODE>form</CODE> - The optional ActionForm bean for this request (if any)<DD><CODE>request</CODE> - The portlet request being processed<DD><CODE>name</CODE> - the dispatch name<DT><B>Returns:</B><DD>ActionForward the action forward for the specified name<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an exception occurs</DL></DD></DL><HR><A NAME="getMethod(java.lang.String)"><!-- --></A><H3>getMethod</H3><PRE>protected java.lang.reflect.Method <B>getMethod</B>(java.lang.String name) throws java.lang.NoSuchMethodException</PRE><DL><DD><p> Introspect the current class to identify a method of the specified name that accepts the same parameter types as the <code>execute</code> method does.</p> <p>Derived from the Struts DispatchAction javadoc.</p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the method to be introspected<DT><B>Returns:</B><DD>Method the method object for the specified name<DT><B>Throws:</B><DD><CODE>java.lang.NoSuchMethodException</CODE> - if no such method can be found</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <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"> <A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</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="../../../../../serialized-form.html"><FONT CLASS="NavBarFont1"><B>Serialized</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"> PREV CLASS <A HREF="../../../../../com/ibm/portal/struts/action/LookupDispatchAction.html" title="class in com.ibm.portal.struts.action"><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="DispatchAction.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <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><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -