⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 strutsaction.html

📁 门户开发
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<DL><DD><B>Deprecated.</B>&nbsp;<I>use execute methods that take portlet objects</I><P><DD>Process 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>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 non-HTTP request we are processing<DD><CODE>response</CODE> - The non-HTTP response we are creating<DT><B>Returns:</B><DD>returns the ActionForward object, can be <code>null</code><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the application business logic throws an exception</DL></DD></DL><HR><A NAME="execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)"><!-- --></A><H3>execute</H3><PRE>public org.apache.struts.action.ActionForward <B>execute</B>(org.apache.struts.action.ActionMapping&nbsp;mapping,                                                      org.apache.struts.action.ActionForm&nbsp;form,                                                      javax.servlet.http.HttpServletRequest&nbsp;request,                                                      javax.servlet.http.HttpServletResponse&nbsp;response)                                               throws java.lang.Exception</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>use execute methods that take portlet objects</I><P><DD>Process 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>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 HTTP request we are processing<DD><CODE>response</CODE> - The HTTP response<DT><B>Returns:</B><DD>returns the ActionForward object, can be <code>null</code><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the application business logic throws an exception</DL></DD></DL><HR><A NAME="sendError(javax.portlet.PortletRequest, int, java.lang.String)"><!-- --></A><H3>sendError</H3><PRE>public void <B>sendError</B>(javax.portlet.PortletRequest&nbsp;portletRequest,                      int&nbsp;sc,                      java.lang.String&nbsp;msg)               throws java.io.IOException</PRE><DL><DD>Sends an error response to the client using the specified status code and descriptive message.  The server generally creates the response to look like a normal server error page.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>portletRequest</CODE> - the PortletRequest this error report is associated with<DD><CODE>sc</CODE> - the error status code<DD><CODE>msg</CODE> - the descriptive message<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if the error information can not be saved</DL></DD></DL><HR><A NAME="sendError(javax.portlet.ActionRequest, int, java.lang.String)"><!-- --></A><H3>sendError</H3><PRE>public void <B>sendError</B>(javax.portlet.ActionRequest&nbsp;actionRequest,                      int&nbsp;sc,                      java.lang.String&nbsp;msg)               throws java.io.IOException</PRE><DL><DD>Sends an error response to the client using the specified status code and descriptive message.  The server generally creates the response to look like a normal server error page.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>actionRequest</CODE> - the PortletRequest this error report is associated with<DD><CODE>sc</CODE> - the error status code<DD><CODE>msg</CODE> - the descriptive message<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if the error information can not be saved</DL></DD></DL><HR><A NAME="sendError(javax.portlet.RenderRequest, int, java.lang.String)"><!-- --></A><H3>sendError</H3><PRE>public void <B>sendError</B>(javax.portlet.RenderRequest&nbsp;renderRequest,                      int&nbsp;sc,                      java.lang.String&nbsp;msg)               throws java.io.IOException</PRE><DL><DD>Sends an error response to the client using the specified status code and descriptive message.  The server generally creates the response to look like a normal server error page.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>renderRequest</CODE> - the PortletRequest this error report is associated with<DD><CODE>sc</CODE> - the error status code<DD><CODE>msg</CODE> - the descriptive message<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if the error information can not be saved</DL></DD></DL><HR><A NAME="sendError(javax.portlet.PortletRequest, int)"><!-- --></A><H3>sendError</H3><PRE>public void <B>sendError</B>(javax.portlet.PortletRequest&nbsp;portletRequest,                      int&nbsp;sc)               throws java.io.IOException</PRE><DL><DD>Sends an error response to the client using the specified status. The server generally creates  the response to look like a normal server error page.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>portletRequest</CODE> - the PortletRequest this error report is associated with<DD><CODE>sc</CODE> - the error status code<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if the error information can not be saved</DL></DD></DL><HR><A NAME="sendError(javax.portlet.ActionRequest, int)"><!-- --></A><H3>sendError</H3><PRE>public void <B>sendError</B>(javax.portlet.ActionRequest&nbsp;actionRequest,                      int&nbsp;sc)               throws java.io.IOException</PRE><DL><DD>Sends an error response to the client using the specified status. The server generally creates  the response to look like a normal server error page.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>actionRequest</CODE> - the PortletRequest this error report is associated with<DD><CODE>sc</CODE> - the error status code<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if the error information can not be saved</DL></DD></DL><HR><A NAME="sendError(javax.portlet.RenderRequest, int)"><!-- --></A><H3>sendError</H3><PRE>public void <B>sendError</B>(javax.portlet.RenderRequest&nbsp;renderRequest,                      int&nbsp;sc)               throws java.io.IOException</PRE><DL><DD>Sends an error response to the client using the specified status. The server generally creates  the response to look like a normal server error page.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>renderRequest</CODE> - the PortletRequest this error report is associated with<DD><CODE>sc</CODE> - the error status code<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if the error information can not be saved</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../serialized-form.html"><FONT CLASS="NavBarFont1"><B>Serialized</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../../com/ibm/portal/struts/action/LookupDispatchAction.html" title="class in com.ibm.portal.struts.action"><B>PREV CLASS</B></A>&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="StrutsAction.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.struts.action.Action">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -