📄 wpsdispatchaction.html
字号:
Method which is dispatched to when there is no value for a specified request parameter included in the request.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_com.ibm.wps.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.wps.struts.action.<A HREF="../../../../../com/ibm/wps/struts/action/StrutsAction.html" title="class in com.ibm.wps.struts.action">StrutsAction</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../com/ibm/wps/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/wps/struts/action/StrutsAction.html#execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, org.apache.jetspeed.portlet.PortletRequest, org.apache.jetspeed.portlet.PortletResponse)">execute</A>, <A HREF="../../../../../com/ibm/wps/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/wps/struts/action/StrutsAction.html#sendError(org.apache.jetspeed.portlet.PortletRequest, int)">sendError</A>, <A HREF="../../../../../com/ibm/wps/struts/action/StrutsAction.html#sendError(org.apache.jetspeed.portlet.PortletRequest, 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>The commons-logging instance for this class.<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>The set of Method objects introspected for this class, keyed by method name. This collection is populated as different methods are called. Introspection needs to occur only once per method name. </p><P><DL></DL></DL><HR><A NAME="types"><!-- --></A><H3>types</H3><PRE>protected java.lang.Class[] <B>types</B></PRE><DL><DD>The set of argument type classes for the reflected method call. These are the same for all calls and only need to be calculated once.</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="WpsDispatchAction()"><!-- --></A><H3>WpsDispatchAction</H3><PRE>public <B>WpsDispatchAction</B>()</PRE><DL><DD>WpsDispatchAction 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, org.apache.jetspeed.portlet.PortletRequest)"><!-- --></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, <A HREF="../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A> request) 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/wps/struts/action/StrutsAction.html#execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, org.apache.jetspeed.portlet.PortletRequest)">execute</A></CODE> in class <CODE><A HREF="../../../../../com/ibm/wps/struts/action/StrutsAction.html" title="class in com.ibm.wps.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 we are processing<DT><B>Returns:</B><DD>ActionForward 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, org.apache.jetspeed.portlet.PortletRequest)"><!-- --></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, <A HREF="../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A> request) throws java.lang.Exception</PRE><DL><DD>Method which is dispatched to when there is no value for a 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><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 we are processing<DT><B>Returns:</B><DD>ActionForward the action forward for the unspecified case<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, org.apache.jetspeed.portlet.PortletRequest, 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, <A HREF="../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A> request, 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 we are processing<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>Introspects 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><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"> <A HREF="../../../../../com/ibm/wps/struts/action/StrutsAction.html" title="class in com.ibm.wps.struts.action"><B>PREV CLASS</B></A> <A HREF="../../../../../com/ibm/wps/struts/action/WpsLookupDispatchAction.html" title="class in com.ibm.wps.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="WpsDispatchAction.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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -