📄 wpsstrutsviewjspcommand.html
字号:
</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/wps/portlets/struts/WpsStrutsViewJspCommand.html#execute(org.apache.jetspeed.portlet.PortletRequest, org.apache.jetspeed.portlet.PortletResponse, com.ibm.wps.portlets.struts.ViewCommandExecutionContext)">execute</A></B>(<A HREF="../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A> request, <A HREF="../../../../../org/apache/jetspeed/portlet/PortletResponse.html" title="interface in org.apache.jetspeed.portlet">PortletResponse</A> response, <A HREF="../../../../../com/ibm/wps/portlets/struts/ViewCommandExecutionContext.html" title="class in com.ibm.wps.portlets.struts">ViewCommandExecutionContext</A> executionContext)</CODE><BR> Executes the given command given the request and response objects.</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/wps/portlets/struts/WpsStrutsViewJspCommand.html#getQueryString(org.apache.jetspeed.portlet.PortletRequest)">getQueryString</A></B>(<A HREF="../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A> request)</CODE><BR> Returns the query string.</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/wps/portlets/struts/WpsStrutsViewJspCommand.html#getUri(org.apache.jetspeed.portlet.PortletRequest)">getUri</A></B>(<A HREF="../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A> request)</CODE><BR> Returns the URI.</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/wps/portlets/struts/WpsStrutsViewJspCommand.html#includeURL(java.lang.String, org.apache.jetspeed.portlet.PortletRequest, org.apache.jetspeed.portlet.PortletResponse, com.ibm.wps.portlets.struts.ViewCommandExecutionContext)">includeURL</A></B>(java.lang.String uri, <A HREF="../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A> request, <A HREF="../../../../../org/apache/jetspeed/portlet/PortletResponse.html" title="interface in org.apache.jetspeed.portlet">PortletResponse</A> response, <A HREF="../../../../../com/ibm/wps/portlets/struts/ViewCommandExecutionContext.html" title="class in com.ibm.wps.portlets.struts">ViewCommandExecutionContext</A> executionContext)</CODE><BR> Includes the URL.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewJspCommand.html#removeAttributeNameToSave(java.lang.String)">removeAttributeNameToSave</A></B>(java.lang.String attributeName)</CODE><BR> Removes the name of an attribute from the list of attribute names to save.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewJspCommand.html#removeAttributeTypeToSave(java.lang.Class)">removeAttributeTypeToSave</A></B>(java.lang.Class attributeType)</CODE><BR> Removes the class type of the request attribute from the list of attributes to save.</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/wps/portlets/struts/WpsStrutsViewJspCommand.html#saveAttributes(javax.servlet.http.HttpServletRequest, com.ibm.wps.portlets.struts.ViewCommandExecutionContext)">saveAttributes</A></B>(javax.servlet.http.HttpServletRequest request, <A HREF="../../../../../com/ibm/wps/portlets/struts/ViewCommandExecutionContext.html" title="class in com.ibm.wps.portlets.struts">ViewCommandExecutionContext</A> executionContext)</CODE><BR> Saves the attributes related to JSP rendering.</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/wps/portlets/struts/WpsStrutsViewJspCommand.html#setQueryString(org.apache.jetspeed.portlet.PortletRequest, java.lang.String)">setQueryString</A></B>(<A HREF="../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A> request, java.lang.String query)</CODE><BR> Sets the query string.</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/wps/portlets/struts/WpsStrutsViewJspCommand.html#setUri(org.apache.jetspeed.portlet.PortletRequest, java.lang.String)">setUri</A></B>(<A HREF="../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A> request, java.lang.String uri)</CODE><BR> Sets the URI to include.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_com.ibm.wps.portlets.struts.WpsStrutsViewCommand"><!-- --></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.portlets.struts.<A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html" title="class in com.ibm.wps.portlets.struts">WpsStrutsViewCommand</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#addAttribute(java.lang.Object, java.util.List)">addAttribute</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#addParameterNameToSave(java.lang.String)">addParameterNameToSave</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#execute(org.apache.jetspeed.portlet.PortletRequest, com.ibm.wps.portlets.struts.ViewCommandExecutionContext)">execute</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#getLastModified(org.apache.jetspeed.portlet.PortletRequest)">getLastModified</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#getPrefix(org.apache.jetspeed.portlet.PortletRequest)">getPrefix</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#getRemoveOnModeChange()">getRemoveOnModeChange</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#getSavedAttributes()">getSavedAttributes</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#getSavedCommand(org.apache.jetspeed.portlet.PortletRequest, com.ibm.wps.portlets.struts.ViewCommandExecutionContext)">getSavedCommand</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#removeAttribute(java.lang.Object, java.util.List)">removeAttribute</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#removeParameterNameToSave(java.lang.String)">removeParameterNameToSave</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#repopulateRequest(org.apache.jetspeed.portlet.PortletRequest)">repopulateRequest</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#saveAsAttribute(java.lang.String, java.lang.Object)">saveAsAttribute</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#saveAsParameter(java.lang.String, java.lang.String)">saveAsParameter</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#saveAttribute(javax.servlet.http.HttpServletRequest, java.lang.String)">saveAttribute</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#saveAttributes(javax.servlet.http.HttpServletRequest, com.ibm.wps.portlets.struts.ViewCommandExecutionContext, java.util.List, java.util.List)">saveAttributes</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#saveCommand(javax.servlet.http.HttpServletRequest)">saveCommand</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#saveCommand(javax.servlet.http.HttpServletRequest, java.lang.String)">saveCommand</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#saveParameter(javax.servlet.http.HttpServletRequest, java.lang.String)">saveParameter</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#saveParameters(javax.servlet.http.HttpServletRequest, com.ibm.wps.portlets.struts.ViewCommandExecutionContext, java.util.List)">saveParameters</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#setLastModified(org.apache.jetspeed.portlet.PortletRequest, long)">setLastModified</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#setPrefix(org.apache.jetspeed.portlet.PortletRequest, java.lang.String)">setPrefix</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#setRemoveOnModeChange(boolean)">setRemoveOnModeChange</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#setSavedAttributes(java.util.Map)">setSavedAttributes</A></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="URI"><!-- --></A><H3>URI</H3><PRE>protected static final java.lang.String <B>URI</B></PRE><DL><DD>Name of the request attribute for the URI string.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.ibm.wps.portlets.struts.WpsStrutsViewJspCommand.URI">Constant Field Values</A></DL></DL><HR><A NAME="QUERY"><!-- --></A><H3>QUERY</H3><PRE>protected static final java.lang.String <B>QUERY</B></PRE><DL><DD>Name of the request attribute for the query string.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.ibm.wps.portlets.struts.WpsStrutsViewJspCommand.QUERY">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="WpsStrutsViewJspCommand()"><!-- --></A><H3>WpsStrutsViewJspCommand</H3><PRE>public <B>WpsStrutsViewJspCommand</B>()</PRE><DL><DD>Default construtor for WpsStrutsViewJspCommand. Use setURI if this constructor is used.<P></DL><HR><A NAME="WpsStrutsViewJspCommand(java.lang.String, org.apache.jetspeed.portlet.PortletRequest)"><!-- --></A><H3>WpsStrutsViewJspCommand</H3><PRE>public <B>WpsStrutsViewJspCommand</B>(java.lang.String uri, <A HREF="../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A> request)</PRE><DL><DD>Constructs the View command.<P><DT><B>Parameters:</B><DD><CODE>uri</CODE> - the uri path to the JSP<DD><CODE>request</CODE> - The request object to save context information from</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.jetspeed.portlet.PortletRequest, org.apache.jetspeed.portlet.PortletResponse, com.ibm.wps.portlets.struts.ViewCommandExecutionContext)"><!-- --></A><H3>execute</H3><PRE>public void <B>execute</B>(<A HREF="../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A> request, <A HREF="../../../../../org/apache/jetspeed/portlet/PortletResponse.html" title="interface in org.apache.jetspeed.portlet">PortletResponse</A> response, <A HREF="../../../../../com/ibm/wps/portlets/struts/ViewCommandExecutionContext.html" title="class in com.ibm.wps.portlets.struts">ViewCommandExecutionContext</A> executionContext) throws <A HREF="../../../../../org/apache/jetspeed/portlet/PortletException.html" title="class in org.apache.jetspeed.portlet">PortletException</A></PRE><DL><DD>Executes the given command given the request and response objects.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/ibm/wps/portlets/struts/IViewCommand.html#execute(org.apache.jetspeed.portlet.PortletRequest, org.apache.jetspeed.portlet.PortletResponse, com.ibm.wps.portlets.struts.ViewCommandExecutionContext)">execute</A></CODE> in interface <CODE><A HREF="../../../../../com/ibm/wps/portlets/struts/IViewCommand.html" title="interface in com.ibm.wps.portlets.struts">IViewCommand</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#execute(org.apache.jetspeed.portlet.PortletRequest, org.apache.jetspeed.portlet.PortletResponse, com.ibm.wps.portlets.struts.ViewCommandExecutionContext)">execute</A></CODE> in class <CODE><A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html" title="class in com.ibm.wps.portlets.struts">WpsStrutsViewCommand</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - The request object<DD><CODE>response</CODE> - The response object<DD><CODE>executionContext</CODE> - the execution context object<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../org/apache/jetspeed/portlet/PortletException.html" title="class in org.apache.jetspeed.portlet">PortletException</A></CODE> - if the request cannot be fulfilled</DL></DD></DL><HR><A NAME="includeURL(java.lang.String, org.apache.jetspeed.portlet.PortletRequest, org.apache.jetspeed.portlet.PortletResponse, com.ibm.wps.portlets.struts.ViewCommandExecutionContext)"><!-- --></A><H3>includeURL</H3><PRE>protected void <B>includeURL</B>(java.lang.String uri, <A HREF="../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A> request, <A HREF="../../../../../org/apache/jetspeed/portlet/PortletResponse.html" title="interface in org.apache.jetspeed.portlet">PortletResponse</A> response, <A HREF="../../../../../com/ibm/wps/portlets/struts/ViewCommandExecutionContext.html" title="class in com.ibm.wps.portlets.struts">ViewCommandExecutionContext</A> executionContext) throws <A HREF="../../../../../org/apache/jetspeed/portlet/PortletException.html" title="class in org.apache.jetspeed.portlet">PortletException</A></PRE><DL><DD>Includes the URL.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>uri</CODE> - the uri to include<DD><CODE>request</CODE> - the request object<DD><CODE>response</CODE> - the reponse object<DD><CODE>executionContext</CODE> - the execution context
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -