📄 strutsportlet.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected javax.servlet.ServletConfig</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/portlet/StrutsPortlet.html#getServletConfigWrapper(javax.portlet.PortletConfig)">getServletConfigWrapper</A></B>(javax.portlet.PortletConfig portletConfig)</CODE><BR> Gets the serlvet config wrapper.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected javax.servlet.ServletContext</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/portlet/StrutsPortlet.html#getServletContextWrapper()">getServletContextWrapper</A></B>()</CODE><BR> Returns the Servlet Context Wrapper</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected javax.servlet.ServletContext</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/portlet/StrutsPortlet.html#getServletContextWrapper(javax.portlet.PortletConfig, javax.servlet.ServletContext)">getServletContextWrapper</A></B>(javax.portlet.PortletConfig portletConfig, javax.servlet.ServletContext servletContext)</CODE><BR> Returns a servlet context that namescopes the attributes to the portlet.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../com/ibm/portal/struts/portlet/StrutsInfo.html" title="class in com.ibm.portal.struts.portlet">StrutsInfo</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/portlet/StrutsPortlet.html#getStrutsInfo()">getStrutsInfo</A></B>()</CODE><BR> Returns the StrutsInfo object.</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="../../../../../com/ibm/portal/struts/portlet/StrutsPortlet.html#getStrutsRoot()">getStrutsRoot</A></B>()</CODE><BR> Returns the Struts context root.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected java.util.Vector</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/portlet/StrutsPortlet.html#getWelcomeFileList(javax.servlet.ServletContext)">getWelcomeFileList</A></B>(javax.servlet.ServletContext servletContext)</CODE><BR> Gets the welcome file list from the web.xml file.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected java.util.List</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/portlet/StrutsPortlet.html#getWelcomeFileList(javax.servlet.ServletContext, javax.portlet.PortletContext, javax.portlet.PortletRequest)">getWelcomeFileList</A></B>(javax.servlet.ServletContext servletContext, javax.portlet.PortletContext portletContext, javax.portlet.PortletRequest portletRequest)</CODE><BR> Gets the welcome file list.</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="../../../../../com/ibm/portal/struts/portlet/StrutsPortlet.html#init(javax.portlet.PortletConfig)">init</A></B>(javax.portlet.PortletConfig portletConfig)</CODE><BR> Called by the portlet container to indicate to a portlet that the portlet is being placed into service.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/portlet/StrutsPortlet.html#initCommandManagerPlugin(javax.portlet.PortletConfig)">initCommandManagerPlugin</A></B>(javax.portlet.PortletConfig portletConfig)</CODE><BR> Initializes a plugin.</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="../../../../../com/ibm/portal/struts/portlet/StrutsPortlet.html#processAction(javax.portlet.ActionRequest, javax.portlet.ActionResponse)">processAction</A></B>(javax.portlet.ActionRequest aRequest, javax.portlet.ActionResponse aResponse)</CODE><BR> Called by the portlet container to allow the portlet to process an action request.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/portlet/StrutsPortlet.html#processActionPerformed(javax.portlet.PortletRequest, javax.portlet.PortletResponse)">processActionPerformed</A></B>(javax.portlet.PortletRequest pRequest, javax.portlet.PortletResponse pResponse)</CODE><BR> The processing for actionPerformed.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/portlet/StrutsPortlet.html#processLocale(javax.portlet.PortletRequest)">processLocale</A></B>(javax.portlet.PortletRequest request)</CODE><BR> Sets the locale for Jakarta Struts in session to the locale obtained from the portlet request object.</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="../../../../../com/ibm/portal/struts/portlet/StrutsPortlet.html#processStrutsAction(javax.portlet.PortletRequest, javax.portlet.PortletResponse, java.lang.String)">processStrutsAction</A></B>(javax.portlet.PortletRequest aRequest, javax.portlet.PortletResponse aResponse, java.lang.String strutsAction)</CODE><BR> Calls the appropriate Struts request processor's process method for the specified Struts action.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/portlet/StrutsPortlet.html#readInitParameters(javax.servlet.ServletContext, javax.portlet.PortletConfig, com.ibm.portal.struts.portlet.StrutsInfo)">readInitParameters</A></B>(javax.servlet.ServletContext servletContext, javax.portlet.PortletConfig portletConfig, <A HREF="../../../../../com/ibm/portal/struts/portlet/StrutsInfo.html" title="class in com.ibm.portal.struts.portlet">StrutsInfo</A> strutsInfo)</CODE><BR> Reads the init parameters for this portlet from the web deployment descriptor and performs the appropriate configuration.</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="../../../../../com/ibm/portal/struts/portlet/StrutsPortlet.html#setCommonsLogFactory()">setCommonsLogFactory</A></B>()</CODE><BR> Previously used to set a commons logger using the System property.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/portlet/StrutsPortlet.html#setupBase(javax.portlet.PortletRequest, javax.portlet.PortletResponse, javax.portlet.PortletConfig)">setupBase</A></B>(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response, javax.portlet.PortletConfig config)</CODE><BR> Allows BaseImplUtils to set up the processing.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/portlet/StrutsPortlet.html#setupRenderPhase(javax.portlet.PortletRequest)">setupRenderPhase</A></B>(javax.portlet.PortletRequest request)</CODE><BR> Sets up the render phase.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/portlet/StrutsPortlet.html#setupRequestPhase(javax.portlet.PortletRequest)">setupRequestPhase</A></B>(javax.portlet.PortletRequest request)</CODE><BR> Sets up the request phase.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.portlet.GenericPortlet"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class javax.portlet.GenericPortlet</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, render</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="messages"><!-- --></A><H3>messages</H3><PRE>protected static org.apache.struts.util.MessageResources <B>messages</B></PRE><DL><DD>The message resources for the Struts Portlet Framework.<P><DL></DL></DL><HR><A NAME="STRUTS_SERVLET_MAPPING_KEY"><!-- --></A><H3>STRUTS_SERVLET_MAPPING_KEY</H3><PRE>public static final java.lang.String <B>STRUTS_SERVLET_MAPPING_KEY</B></PRE><DL><DD>The key used to identify the Struts servlet mapping in the servlet context.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.ibm.portal.struts.portlet.StrutsPortlet.STRUTS_SERVLET_MAPPING_KEY">Constant Field Values</A></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="StrutsPortlet()"><!-- --></A><H3>StrutsPortlet</H3><PRE>public <B>StrutsPortlet</B>()</PRE><DL><DD>StrutsPortlet 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="getActionServlet()"><!-- --></A><H3>getActionServlet</H3><PRE>public <A HREF="../../../../../com/ibm/portal/struts/portlet/WpActionServlet.html" title="class in com.ibm.portal.struts.portlet">WpActionServlet</A> <B>getActionServlet</B>()</PRE><DL><DD>Returns the ActionServlet object.<P><DD><DL><DT><B>Returns:</B><DD>returns the WpActionServlet object</DL></DD></DL><HR><A NAME="getStrutsInfo()"><!-- --></A><H3>getStrutsInfo</H3><PRE>public <A HREF="../../../../../com/ibm/portal/struts/portlet/StrutsInfo.html" title="class in com.ibm.portal.struts.portlet">StrutsInfo</A> <B>getStrutsInfo</B>()</PRE><DL><DD>Returns the StrutsInfo object.<P><DD><DL><DT><B>Returns:</B><DD>returns the StrutsInfo object</DL></DD></DL><HR><A NAME="getStrutsRoot()"><!-- --></A><H3>getStrutsRoot</H3><PRE>public java.lang.String <B>getStrutsRoot</B>()</PRE><DL><DD>Returns the Struts context root.<P><DD><DL><DT><B>Returns:</B><DD>returns the Struts context root</DL></DD></DL><HR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -