| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <!-- Generated by javadoc on Fri Aug 22 03:43:58 EDT 2003 --> |
| <TITLE> |
| RequestUtils (Apache Struts API Documentation) |
| </TITLE> |
| <META NAME="keywords" CONTENT="org.apache.struts.util.RequestUtils,RequestUtils class"> |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
| </HEAD> |
| <SCRIPT> |
| function asd() |
| { |
| parent.document.title="RequestUtils (Apache Struts API Documentation)"; |
| } |
| </SCRIPT> |
| <BODY BGCOLOR="white" onload="asd();"> |
| |
| <!-- ========== START OF NAVBAR ========== --> |
| <A NAME="navbar_top"><!-- --></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"> |
| <TR> |
| <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> |
| <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"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RequestUtils.html"><FONT CLASS="NavBarFont1"><B>Use</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="../../../../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="../../../../org/apache/struts/util/PropertyMessageResourcesFactory.html"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/struts/util/ResponseUtils.html"><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="RequestUtils.html" TARGET="_top"><B>NO FRAMES</B></A> |
| |
| <SCRIPT> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../allclasses-noframe.html" TARGET=""><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> |
| <!-- =========== END OF NAVBAR =========== --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.apache.struts.util</FONT> |
| <BR> |
| Class RequestUtils</H2> |
| <PRE> |
| java.lang.Object |
| | |
| +--<B>org.apache.struts.util.RequestUtils</B> |
| </PRE> |
| <HR> |
| <DL> |
| <DT>public class <B>RequestUtils</B><DT>extends java.lang.Object</DL> |
| |
| <P> |
| General purpose utility methods related to processing a servlet request |
| in the Struts controller framework. |
| <P> |
| |
| <P> |
| <DL> |
| <DT><B>Version:</B></DT> |
| <DD>$Revision: 1.1 $ $Date$</DD> |
| <DT><B>Author:</B></DT> |
| <DD>Craig R. McClanahan, Ted Husted, James Turner, David Graham</DD> |
| </DL> |
| <HR> |
| |
| <P> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| |
| |
| <!-- =========== FIELD SUMMARY =========== --> |
| |
| <A NAME="field_summary"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=2><FONT SIZE="+2"> |
| <B>Field Summary</B></FONT></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>private static java.lang.reflect.Method</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#encode">encode</A></B></CODE> |
| |
| <BR> |
| Java 1.4 encode method to use instead of deprecated 1.3 version.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected static org.apache.commons.logging.Log</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#log">log</A></B></CODE> |
| |
| <BR> |
| Commons Logging instance.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>private static <A HREF="../../../../org/apache/struts/util/MessageResources.html">MessageResources</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#messages">messages</A></B></CODE> |
| |
| <BR> |
| The message resources for this package.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>private static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#PREFIXES_KEY">PREFIXES_KEY</A></B></CODE> |
| |
| <BR> |
| The context attribute under which we store our prefixes list.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>private static java.util.Map</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#scopes">scopes</A></B></CODE> |
| |
| <BR> |
| Maps lowercase JSP scope names to their PageContext integer constant values.</TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| |
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=2><FONT SIZE="+2"> |
| <B>Constructor Summary</B></FONT></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#RequestUtils()">RequestUtils</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=2><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.net.URL</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#absoluteURL(javax.servlet.http.HttpServletRequest, java.lang.String)">absoluteURL</A></B>(javax.servlet.http.HttpServletRequest request, |
| java.lang.String path)</CODE> |
| |
| <BR> |
| Create and return an absolute URL for the specified context-relative |
| path, based on the server and context information in the specified |
| request.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#actionURL(javax.servlet.http.HttpServletRequest, org.apache.struts.config.ActionConfig, java.lang.String)">actionURL</A></B>(javax.servlet.http.HttpServletRequest request, |
| <A HREF="../../../../org/apache/struts/config/ActionConfig.html">ActionConfig</A> action, |
| java.lang.String pattern)</CODE> |
| |
| <BR> |
| Return the context-relative URL that corresponds to the specified |
| <A HREF="../../../../org/apache/struts/config/ActionConfig.html"><CODE>ActionConfig</CODE></A>, relative to the module associated |
| with the current modules's <A HREF="../../../../org/apache/struts/config/ModuleConfig.html"><CODE>ModuleConfig</CODE></A>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.Class</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#applicationClass(java.lang.String)">applicationClass</A></B>(java.lang.String className)</CODE> |
| |
| <BR> |
| Return the <code>Class</code> object for the specified fully qualified |
| class name, from this web application's class loader.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.Object</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#applicationInstance(java.lang.String)">applicationInstance</A></B>(java.lang.String className)</CODE> |
| |
| <BR> |
| Return a new instance of the specified fully qualified class name, |
| after loading the class from this web application's class loader.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.util.Map</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#computeParameters(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean)">computeParameters</A></B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.String paramId, |
| java.lang.String paramName, |
| java.lang.String paramProperty, |
| java.lang.String paramScope, |
| java.lang.String name, |
| java.lang.String property, |
| java.lang.String scope, |
| boolean transaction)</CODE> |
| |
| <BR> |
| Compute a set of query parameters that will be dynamically added to |
| a generated URL.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#computeURL(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String, java.util.Map, java.lang.String, boolean)">computeURL</A></B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.String forward, |
| java.lang.String href, |
| java.lang.String page, |
| java.util.Map params, |
| java.lang.String anchor, |
| boolean redirect)</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>To be removed in Version 1.3. |
| Use <A HREF="../../../../org/apache/struts/util/RequestUtils.html#computeURL(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map, java.lang.String, boolean)"><CODE>computeURL(PageContext, String, String, String, String, Map, String, boolean)</CODE></A> instead.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#computeURL(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map, java.lang.String, boolean)">computeURL</A></B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.String forward, |
| java.lang.String href, |
| java.lang.String page, |
| java.lang.String action, |
| java.util.Map params, |
| java.lang.String anchor, |
| boolean redirect)</CODE> |
| |
| <BR> |
| Compute a hyperlink URL based on the <code>forward</code>, |
| <code>href</code>, <code>action</code> or <code>page</code> parameter |
| that is not null.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#computeURL(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map, java.lang.String, boolean, boolean)">computeURL</A></B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.String forward, |
| java.lang.String href, |
| java.lang.String page, |
| java.lang.String action, |
| java.util.Map params, |
| java.lang.String anchor, |
| boolean redirect, |
| boolean encodeSeparator)</CODE> |
| |
| <BR> |
| Compute a hyperlink URL based on the <code>forward</code>, |
| <code>href</code>, <code>action</code> or <code>page</code> parameter |
| that is not null.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../org/apache/struts/action/ActionForm.html">ActionForm</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#createActionForm(javax.servlet.http.HttpServletRequest, org.apache.struts.action.ActionMapping, org.apache.struts.config.ModuleConfig, org.apache.struts.action.ActionServlet)">createActionForm</A></B>(javax.servlet.http.HttpServletRequest request, |
| <A HREF="../../../../org/apache/struts/action/ActionMapping.html">ActionMapping</A> mapping, |
| <A HREF="../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A> moduleConfig, |
| <A HREF="../../../../org/apache/struts/action/ActionServlet.html">ActionServlet</A> servlet)</CODE> |
| |
| <BR> |
| Create (if necessary) and return an ActionForm instance appropriate |
| for this request.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#encodeURL(java.lang.String)">encodeURL</A></B>(java.lang.String url)</CODE> |
| |
| <BR> |
| Use the new URLEncoder.encode() method from java 1.4 if available, else |
| use the old deprecated version.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#forwardURL(javax.servlet.http.HttpServletRequest, org.apache.struts.config.ForwardConfig)">forwardURL</A></B>(javax.servlet.http.HttpServletRequest request, |
| <A HREF="../../../../org/apache/struts/config/ForwardConfig.html">ForwardConfig</A> forward)</CODE> |
| |
| <BR> |
| Return the context-relative URL that corresponds to the specified |
| ForwardConfig.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../org/apache/struts/action/ActionErrors.html">ActionErrors</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getActionErrors(javax.servlet.jsp.PageContext, java.lang.String)">getActionErrors</A></B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.String paramName)</CODE> |
| |
| <BR> |
| Retrieves the value from request scope and if it isn't already an <code>ErrorMessages</code> |
| some classes are converted to one.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getActionMappingName(java.lang.String)">getActionMappingName</A></B>(java.lang.String action)</CODE> |
| |
| <BR> |
| Return the form action converted into an action mapping path.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getActionMappingURL(java.lang.String, javax.servlet.jsp.PageContext)">getActionMappingURL</A></B>(java.lang.String action, |
| javax.servlet.jsp.PageContext pageContext)</CODE> |
| |
| <BR> |
| Return the form action converted into a server-relative URL.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../org/apache/struts/action/ActionMessages.html">ActionMessages</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getActionMessages(javax.servlet.jsp.PageContext, java.lang.String)">getActionMessages</A></B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.String paramName)</CODE> |
| |
| <BR> |
| Retrieves the value from request scope and if it isn't already an <code>ActionMessages</code> |
| some classes are converted to one.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>private static java.util.Map</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getAllParametersForMultipartRequest(javax.servlet.http.HttpServletRequest, org.apache.struts.upload.MultipartRequestHandler)">getAllParametersForMultipartRequest</A></B>(javax.servlet.http.HttpServletRequest request, |
| <A HREF="../../../../org/apache/struts/upload/MultipartRequestHandler.html">MultipartRequestHandler</A> multipartHandler)</CODE> |
| |
| <BR> |
| Create a map containing all of the parameters supplied for a multipart |
| request, keyed by parameter name.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getApplicationPrefixes(javax.servlet.ServletContext)">getApplicationPrefixes</A></B>(javax.servlet.ServletContext context)</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>Use getModulePrefixes(ServletContext) instead.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getModuleConfig(javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)">getModuleConfig</A></B>(javax.servlet.http.HttpServletRequest request, |
| javax.servlet.ServletContext context)</CODE> |
| |
| <BR> |
| Return the ModuleConfig object is it exists, null otherwise.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getModuleConfig(javax.servlet.jsp.PageContext)">getModuleConfig</A></B>(javax.servlet.jsp.PageContext pageContext)</CODE> |
| |
| <BR> |
| Return the ModuleConfig object if it exists, null if otherwise.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getModuleName(javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)">getModuleName</A></B>(javax.servlet.http.HttpServletRequest request, |
| javax.servlet.ServletContext context)</CODE> |
| |
| <BR> |
| Get the module name to which the specified request belong.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getModuleName(java.lang.String, javax.servlet.ServletContext)">getModuleName</A></B>(java.lang.String matchPath, |
| javax.servlet.ServletContext context)</CODE> |
| |
| <BR> |
| Get the module name to which the specified uri belong.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getModulePrefixes(javax.servlet.ServletContext)">getModulePrefixes</A></B>(javax.servlet.ServletContext context)</CODE> |
| |
| <BR> |
| Return the list of module prefixes that are defined for |
| this web application, creating it if necessary.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>private static <A HREF="../../../../org/apache/struts/upload/MultipartRequestHandler.html">MultipartRequestHandler</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getMultipartHandler(javax.servlet.http.HttpServletRequest)">getMultipartHandler</A></B>(javax.servlet.http.HttpServletRequest request)</CODE> |
| |
| <BR> |
| Try to locate a multipart request handler for this request.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getRequestModuleConfig(javax.servlet.http.HttpServletRequest)">getRequestModuleConfig</A></B>(javax.servlet.http.HttpServletRequest request)</CODE> |
| |
| <BR> |
| Return the current ModuleConfig object stored in request, if it exists, |
| null otherwise.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getScope(java.lang.String)">getScope</A></B>(java.lang.String scopeName)</CODE> |
| |
| <BR> |
| Converts the scope name into its corresponding PageContext constant value.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#isXhtml(javax.servlet.jsp.PageContext)">isXhtml</A></B>(javax.servlet.jsp.PageContext pageContext)</CODE> |
| |
| <BR> |
| Returns true if the custom tags are in XHTML mode.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.Object</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#lookup(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String)">lookup</A></B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.String name, |
| java.lang.String scopeName)</CODE> |
| |
| <BR> |
| Locate and return the specified bean, from an optionally specified |
| scope, in the specified page context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.Object</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#lookup(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String)">lookup</A></B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.String name, |
| java.lang.String property, |
| java.lang.String scope)</CODE> |
| |
| <BR> |
| Locate and return the specified property of the specified bean, from |
| an optionally specified scope, in the specified page context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#message(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String)">message</A></B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.String bundle, |
| java.lang.String locale, |
| java.lang.String key)</CODE> |
| |
| <BR> |
| Look up and return a message string, based on the specified parameters.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#message(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String, java.lang.Object[])">message</A></B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.String bundle, |
| java.lang.String locale, |
| java.lang.String key, |
| java.lang.Object[] args)</CODE> |
| |
| <BR> |
| Look up and return a message string, based on the specified parameters.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#pageURL(javax.servlet.http.HttpServletRequest, java.lang.String)">pageURL</A></B>(javax.servlet.http.HttpServletRequest request, |
| java.lang.String page)</CODE> |
| |
| <BR> |
| Return the context-relative URL that corresponds to the specified |
| <code>page</code> attribute value, calculated based on the |
| <code>pagePattern</code> property of the current module's |
| <A HREF="../../../../org/apache/struts/config/ModuleConfig.html"><CODE>ModuleConfig</CODE></A>.</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="../../../../org/apache/struts/util/RequestUtils.html#populate(java.lang.Object, javax.servlet.http.HttpServletRequest)">populate</A></B>(java.lang.Object bean, |
| javax.servlet.http.HttpServletRequest request)</CODE> |
| |
| <BR> |
| Populate the properties of the specified JavaBean from the specified |
| HTTP request, based on matching each parameter name against the |
| corresponding JavaBeans "property setter" methods in the bean's class.</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="../../../../org/apache/struts/util/RequestUtils.html#populate(java.lang.Object, java.lang.String, java.lang.String, javax.servlet.http.HttpServletRequest)">populate</A></B>(java.lang.Object bean, |
| java.lang.String prefix, |
| java.lang.String suffix, |
| javax.servlet.http.HttpServletRequest request)</CODE> |
| |
| <BR> |
| Populate the properties of the specified JavaBean from the specified |
| HTTP request, based on matching each parameter name (plus an optional |
| prefix and/or suffix) against the corresponding JavaBeans "property |
| setter" methods in the bean's class.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#present(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String)">present</A></B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.String bundle, |
| java.lang.String locale, |
| java.lang.String key)</CODE> |
| |
| <BR> |
| Return true if a message string for the specified message key |
| is present for the specified Locale.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#printableURL(java.net.URL)">printableURL</A></B>(java.net.URL url)</CODE> |
| |
| <BR> |
| Compute the printable representation of a URL, leaving off the |
| scheme/host/port part if no host is specified.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.net.URL</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#requestURL(javax.servlet.http.HttpServletRequest)">requestURL</A></B>(javax.servlet.http.HttpServletRequest request)</CODE> |
| |
| <BR> |
| Return the URL representing the current request.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>private static <A HREF="../../../../org/apache/struts/util/MessageResources.html">MessageResources</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#retrieveMessageResources(javax.servlet.jsp.PageContext, java.lang.String, boolean)">retrieveMessageResources</A></B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.String bundle, |
| boolean checkPageScope)</CODE> |
| |
| <BR> |
| Returns the appropriate MessageResources object for the current module and |
| the given bundle.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.util.Locale</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#retrieveUserLocale(javax.servlet.jsp.PageContext, java.lang.String)">retrieveUserLocale</A></B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.String locale)</CODE> |
| |
| <BR> |
| Look up and return current user locale, based on the specified parameters.</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="../../../../org/apache/struts/util/RequestUtils.html#saveException(javax.servlet.jsp.PageContext, java.lang.Throwable)">saveException</A></B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.Throwable exception)</CODE> |
| |
| <BR> |
| Save the specified exception as a request attribute for later use.</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="../../../../org/apache/struts/util/RequestUtils.html#selectApplication(javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)">selectApplication</A></B>(javax.servlet.http.HttpServletRequest request, |
| javax.servlet.ServletContext context)</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/struts/util/RequestUtils.html#selectModule(javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)"><CODE>selectModule(HttpServletRequest,ServletContext)</CODE></A></I></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="../../../../org/apache/struts/util/RequestUtils.html#selectApplication(java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)">selectApplication</A></B>(java.lang.String prefix, |
| javax.servlet.http.HttpServletRequest request, |
| javax.servlet.ServletContext context)</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/struts/util/RequestUtils.html#selectModule(java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)"><CODE>selectModule(String,HttpServletRequest,ServletContext)</CODE></A></I></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="../../../../org/apache/struts/util/RequestUtils.html#selectModule(javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)">selectModule</A></B>(javax.servlet.http.HttpServletRequest request, |
| javax.servlet.ServletContext context)</CODE> |
| |
| <BR> |
| Select the module to which the specified request belongs, and |
| add corresponding request attributes to this request.</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="../../../../org/apache/struts/util/RequestUtils.html#selectModule(java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)">selectModule</A></B>(java.lang.String prefix, |
| javax.servlet.http.HttpServletRequest request, |
| javax.servlet.ServletContext context)</CODE> |
| |
| <BR> |
| Select the module to which the specified request belongs, and |
| add corresponding request attributes to this request.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.net.URL</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#serverURL(javax.servlet.http.HttpServletRequest)">serverURL</A></B>(javax.servlet.http.HttpServletRequest request)</CODE> |
| |
| <BR> |
| Return the URL representing the scheme, server, and port number of |
| the current request.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TD><B>Methods inherited from class java.lang.Object</B></TD> |
| </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" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=1><FONT SIZE="+2"> |
| <B>Field Detail</B></FONT></TD> |
| </TR> |
| </TABLE> |
| |
| <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> |
| private static <A HREF="../../../../org/apache/struts/util/MessageResources.html">MessageResources</A> <B>messages</B></PRE> |
| <DL> |
| <DD>The message resources for this package. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="PREFIXES_KEY"><!-- --></A><H3> |
| PREFIXES_KEY</H3> |
| <PRE> |
| private static final java.lang.String <B>PREFIXES_KEY</B></PRE> |
| <DL> |
| <DD>The context attribute under which we store our prefixes list. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.struts.util.RequestUtils.PREFIXES_KEY">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="encode"><!-- --></A><H3> |
| encode</H3> |
| <PRE> |
| private static java.lang.reflect.Method <B>encode</B></PRE> |
| <DL> |
| <DD>Java 1.4 encode method to use instead of deprecated 1.3 version. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="scopes"><!-- --></A><H3> |
| scopes</H3> |
| <PRE> |
| private static java.util.Map <B>scopes</B></PRE> |
| <DL> |
| <DD>Maps lowercase JSP scope names to their PageContext integer constant values. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| |
| <A NAME="constructor_detail"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=1><FONT SIZE="+2"> |
| <B>Constructor Detail</B></FONT></TD> |
| </TR> |
| </TABLE> |
| |
| <A NAME="RequestUtils()"><!-- --></A><H3> |
| RequestUtils</H3> |
| <PRE> |
| public <B>RequestUtils</B>()</PRE> |
| <DL> |
| </DL> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=1><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TD> |
| </TR> |
| </TABLE> |
| |
| <A NAME="absoluteURL(javax.servlet.http.HttpServletRequest, java.lang.String)"><!-- --></A><H3> |
| absoluteURL</H3> |
| <PRE> |
| public static java.net.URL <B>absoluteURL</B>(javax.servlet.http.HttpServletRequest request, |
| java.lang.String path) |
| throws java.net.MalformedURLException</PRE> |
| <DL> |
| <DD>Create and return an absolute URL for the specified context-relative |
| path, based on the server and context information in the specified |
| request. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>path</CODE> - The context-relative path (must start with '/') |
| <DT><B>Returns:</B><DD>absolute URL based on context-relative path |
| <DT><B>Throws:</B> |
| <DD><CODE>java.net.MalformedURLException</CODE> - if we cannot create an absolute URL</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="applicationClass(java.lang.String)"><!-- --></A><H3> |
| applicationClass</H3> |
| <PRE> |
| public static java.lang.Class <B>applicationClass</B>(java.lang.String className) |
| throws java.lang.ClassNotFoundException</PRE> |
| <DL> |
| <DD>Return the <code>Class</code> object for the specified fully qualified |
| class name, from this web application's class loader. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>className</CODE> - Fully qualified class name to be loaded |
| <DT><B>Returns:</B><DD>Class object |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.ClassNotFoundException</CODE> - if the class cannot be found</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="applicationInstance(java.lang.String)"><!-- --></A><H3> |
| applicationInstance</H3> |
| <PRE> |
| public static java.lang.Object <B>applicationInstance</B>(java.lang.String className) |
| throws java.lang.ClassNotFoundException, |
| java.lang.IllegalAccessException, |
| java.lang.InstantiationException</PRE> |
| <DL> |
| <DD>Return a new instance of the specified fully qualified class name, |
| after loading the class from this web application's class loader. |
| The specified class <strong>MUST</strong> have a public zero-arguments |
| constructor. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>className</CODE> - Fully qualified class name to use |
| <DT><B>Returns:</B><DD>new instance of class |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.ClassNotFoundException</CODE> - if the class cannot be found |
| <DD><CODE>java.lang.IllegalAccessException</CODE> - if the class or its constructor |
| is not accessible |
| <DD><CODE>java.lang.InstantiationException</CODE> - if this class represents an |
| abstract class, an interface, an array class, a primitive type, |
| or void |
| <DD><CODE>java.lang.InstantiationException</CODE> - if this class has no |
| zero-arguments constructor</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="computeParameters(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean)"><!-- --></A><H3> |
| computeParameters</H3> |
| <PRE> |
| public static java.util.Map <B>computeParameters</B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.String paramId, |
| java.lang.String paramName, |
| java.lang.String paramProperty, |
| java.lang.String paramScope, |
| java.lang.String name, |
| java.lang.String property, |
| java.lang.String scope, |
| boolean transaction) |
| throws javax.servlet.jsp.JspException</PRE> |
| <DL> |
| <DD>Compute a set of query parameters that will be dynamically added to |
| a generated URL. The returned Map is keyed by parameter name, and the |
| values are either null (no value specified), a String (single value |
| specified), or a String[] array (multiple values specified). Parameter |
| names correspond to the corresponding attributes of the |
| <code><html:link></code> tag. If no query parameters are |
| identified, return <code>null</code>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - PageContext we are operating in<DD><CODE>paramId</CODE> - Single-value request parameter name (if any)<DD><CODE>paramName</CODE> - Bean containing single-value parameter value<DD><CODE>paramProperty</CODE> - Property (of bean named by <code>paramName</code> |
| containing single-value parameter value<DD><CODE>paramScope</CODE> - Scope containing bean named by |
| <code>paramName</code><DD><CODE>name</CODE> - Bean containing multi-value parameters Map (if any)<DD><CODE>property</CODE> - Property (of bean named by <code>name</code> |
| containing multi-value parameters Map<DD><CODE>scope</CODE> - Scope containing bean named by |
| <code>name</code><DD><CODE>transaction</CODE> - Should we add our transaction control token? |
| <DT><B>Returns:</B><DD>Map of query parameters |
| <DT><B>Throws:</B> |
| <DD><CODE>javax.servlet.jsp.JspException</CODE> - if we cannot look up the required beans |
| <DD><CODE>javax.servlet.jsp.JspException</CODE> - if a class cast exception occurs on a |
| looked-up bean or property</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="computeURL(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String, java.util.Map, java.lang.String, boolean)"><!-- --></A><H3> |
| computeURL</H3> |
| <PRE> |
| public static java.lang.String <B>computeURL</B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.String forward, |
| java.lang.String href, |
| java.lang.String page, |
| java.util.Map params, |
| java.lang.String anchor, |
| boolean redirect) |
| throws java.net.MalformedURLException</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>To be removed in Version 1.3. |
| Use <A HREF="../../../../org/apache/struts/util/RequestUtils.html#computeURL(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map, java.lang.String, boolean)"><CODE>computeURL(PageContext, String, String, String, String, Map, String, boolean)</CODE></A> instead.</I> |
| <P> |
| <DD>Compute a hyperlink URL based on the <code>forward</code>, |
| <code>href</code> or <code>page</code> parameter |
| that is not null. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - PageContext for the tag making this call<DD><CODE>forward</CODE> - Logical forward name for which to look up |
| the context-relative URI (if specified)<DD><CODE>href</CODE> - URL to be utilized unmodified (if specified)<DD><CODE>page</CODE> - Module-relative page for which a URL should |
| be created (if specified)<DD><CODE>params</CODE> - Map of parameters to be dynamically included (if any)<DD><CODE>anchor</CODE> - Anchor to be dynamically included (if any)<DD><CODE>redirect</CODE> - Is this URL for a <code>response.sendRedirect()</code>? |
| <DT><B>Returns:</B><DD>URL with session identifier |
| <DT><B>Throws:</B> |
| <DD><CODE>java.net.MalformedURLException</CODE> - if a URL cannot be created |
| for the specified parameters</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="computeURL(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map, java.lang.String, boolean)"><!-- --></A><H3> |
| computeURL</H3> |
| <PRE> |
| public static java.lang.String <B>computeURL</B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.String forward, |
| java.lang.String href, |
| java.lang.String page, |
| java.lang.String action, |
| java.util.Map params, |
| java.lang.String anchor, |
| boolean redirect) |
| throws java.net.MalformedURLException</PRE> |
| <DL> |
| <DD>Compute a hyperlink URL based on the <code>forward</code>, |
| <code>href</code>, <code>action</code> or <code>page</code> parameter |
| that is not null. |
| The returned URL will have already been passed to |
| <code>response.encodeURL()</code> for adding a session identifier. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - PageContext for the tag making this call<DD><CODE>forward</CODE> - Logical forward name for which to look up |
| the context-relative URI (if specified)<DD><CODE>href</CODE> - URL to be utilized unmodified (if specified)<DD><CODE>page</CODE> - Module-relative page for which a URL should |
| be created (if specified)<DD><CODE>action</CODE> - Logical action name for which to look up |
| the context-relative URI (if specified)<DD><CODE>params</CODE> - Map of parameters to be dynamically included (if any)<DD><CODE>anchor</CODE> - Anchor to be dynamically included (if any)<DD><CODE>redirect</CODE> - Is this URL for a <code>response.sendRedirect()</code>? |
| <DT><B>Returns:</B><DD>URL with session identifier |
| <DT><B>Throws:</B> |
| <DD><CODE>java.net.MalformedURLException</CODE> - if a URL cannot be created |
| for the specified parameters</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="computeURL(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map, java.lang.String, boolean, boolean)"><!-- --></A><H3> |
| computeURL</H3> |
| <PRE> |
| public static java.lang.String <B>computeURL</B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.String forward, |
| java.lang.String href, |
| java.lang.String page, |
| java.lang.String action, |
| java.util.Map params, |
| java.lang.String anchor, |
| boolean redirect, |
| boolean encodeSeparator) |
| throws java.net.MalformedURLException</PRE> |
| <DL> |
| <DD>Compute a hyperlink URL based on the <code>forward</code>, |
| <code>href</code>, <code>action</code> or <code>page</code> parameter |
| that is not null. |
| The returned URL will have already been passed to |
| <code>response.encodeURL()</code> for adding a session identifier. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - PageContext for the tag making this call<DD><CODE>forward</CODE> - Logical forward name for which to look up |
| the context-relative URI (if specified)<DD><CODE>href</CODE> - URL to be utilized unmodified (if specified)<DD><CODE>page</CODE> - Module-relative page for which a URL should |
| be created (if specified)<DD><CODE>action</CODE> - Logical action name for which to look up |
| the context-relative URI (if specified)<DD><CODE>params</CODE> - Map of parameters to be dynamically included (if any)<DD><CODE>anchor</CODE> - Anchor to be dynamically included (if any)<DD><CODE>redirect</CODE> - Is this URL for a <code>response.sendRedirect()</code>?<DD><CODE>encodeSeparator</CODE> - This is only checked if redirect is set to false (never |
| encoded for a redirect). If true, query string parameter separators are encoded |
| as >amp;, else & is used. |
| <DT><B>Returns:</B><DD>URL with session identifier |
| <DT><B>Throws:</B> |
| <DD><CODE>java.net.MalformedURLException</CODE> - if a URL cannot be created |
| for the specified parameters</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getActionMappingName(java.lang.String)"><!-- --></A><H3> |
| getActionMappingName</H3> |
| <PRE> |
| public static java.lang.String <B>getActionMappingName</B>(java.lang.String action)</PRE> |
| <DL> |
| <DD>Return the form action converted into an action mapping path. The |
| value of the <code>action</code> property is manipulated as follows in |
| computing the name of the requested mapping: |
| <ul> |
| <li>Any filename extension is removed (on the theory that extension |
| mapping is being used to select the controller servlet).</li> |
| <li>If the resulting value does not start with a slash, then a |
| slash is prepended.</li> |
| </ul> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getActionMappingURL(java.lang.String, javax.servlet.jsp.PageContext)"><!-- --></A><H3> |
| getActionMappingURL</H3> |
| <PRE> |
| public static java.lang.String <B>getActionMappingURL</B>(java.lang.String action, |
| javax.servlet.jsp.PageContext pageContext)</PRE> |
| <DL> |
| <DD>Return the form action converted into a server-relative URL. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createActionForm(javax.servlet.http.HttpServletRequest, org.apache.struts.action.ActionMapping, org.apache.struts.config.ModuleConfig, org.apache.struts.action.ActionServlet)"><!-- --></A><H3> |
| createActionForm</H3> |
| <PRE> |
| public static <A HREF="../../../../org/apache/struts/action/ActionForm.html">ActionForm</A> <B>createActionForm</B>(javax.servlet.http.HttpServletRequest request, |
| <A HREF="../../../../org/apache/struts/action/ActionMapping.html">ActionMapping</A> mapping, |
| <A HREF="../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A> moduleConfig, |
| <A HREF="../../../../org/apache/struts/action/ActionServlet.html">ActionServlet</A> servlet)</PRE> |
| <DL> |
| <DD>Create (if necessary) and return an ActionForm instance appropriate |
| for this request. If no ActionForm instance is required, return |
| <code>null</code>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>mapping</CODE> - The action mapping for this request<DD><CODE>moduleConfig</CODE> - The configuration for this module<DD><CODE>servlet</CODE> - The action servlet |
| <DT><B>Returns:</B><DD>ActionForm instance associated with this request</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="lookup(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String)"><!-- --></A><H3> |
| lookup</H3> |
| <PRE> |
| public static java.lang.Object <B>lookup</B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.String name, |
| java.lang.String scopeName) |
| throws javax.servlet.jsp.JspException</PRE> |
| <DL> |
| <DD>Locate and return the specified bean, from an optionally specified |
| scope, in the specified page context. If no such bean is found, |
| return <code>null</code> instead. If an exception is thrown, it will |
| have already been saved via a call to <code>saveException()</code>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - Page context to be searched<DD><CODE>name</CODE> - Name of the bean to be retrieved<DD><CODE>scopeName</CODE> - Scope to be searched (page, request, session, application) |
| or <code>null</code> to use <code>findAttribute()</code> instead |
| <DT><B>Returns:</B><DD>JavaBean in the specified page context |
| <DT><B>Throws:</B> |
| <DD><CODE>javax.servlet.jsp.JspException</CODE> - if an invalid scope name |
| is requested</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getScope(java.lang.String)"><!-- --></A><H3> |
| getScope</H3> |
| <PRE> |
| public static int <B>getScope</B>(java.lang.String scopeName) |
| throws javax.servlet.jsp.JspException</PRE> |
| <DL> |
| <DD>Converts the scope name into its corresponding PageContext constant value. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>scopeName</CODE> - Can be "page", "request", "session", or "application" in any |
| case. |
| <DT><B>Returns:</B><DD>The constant representing the scope (ie. PageContext.REQUEST_SCOPE). |
| <DT><B>Throws:</B> |
| <DD><CODE>javax.servlet.jsp.JspException</CODE> - if the scopeName is not a valid name.<DT><B>Since:</B></DT> |
| <DD>Struts 1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="lookup(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3> |
| lookup</H3> |
| <PRE> |
| public static java.lang.Object <B>lookup</B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.String name, |
| java.lang.String property, |
| java.lang.String scope) |
| throws javax.servlet.jsp.JspException</PRE> |
| <DL> |
| <DD>Locate and return the specified property of the specified bean, from |
| an optionally specified scope, in the specified page context. If an |
| exception is thrown, it will have already been saved via a call to |
| <code>saveException()</code>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - Page context to be searched<DD><CODE>name</CODE> - Name of the bean to be retrieved<DD><CODE>property</CODE> - Name of the property to be retrieved, or |
| <code>null</code> to retrieve the bean itself<DD><CODE>scope</CODE> - Scope to be searched (page, request, session, application) |
| or <code>null</code> to use <code>findAttribute()</code> instead |
| <DT><B>Returns:</B><DD>property of specified JavaBean |
| <DT><B>Throws:</B> |
| <DD><CODE>javax.servlet.jsp.JspException</CODE> - if an invalid scope name |
| is requested |
| <DD><CODE>javax.servlet.jsp.JspException</CODE> - if the specified bean is not found |
| <DD><CODE>javax.servlet.jsp.JspException</CODE> - if accessing this property causes an |
| IllegalAccessException, IllegalArgumentException, |
| InvocationTargetException, or NoSuchMethodException</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="retrieveUserLocale(javax.servlet.jsp.PageContext, java.lang.String)"><!-- --></A><H3> |
| retrieveUserLocale</H3> |
| <PRE> |
| public static java.util.Locale <B>retrieveUserLocale</B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.String locale)</PRE> |
| <DL> |
| <DD>Look up and return current user locale, based on the specified parameters. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - The PageContext associated with this request<DD><CODE>locale</CODE> - Name of the session attribute for our user's Locale. If this is |
| <code>null</code>, the default locale key is used for the lookup. |
| <DT><B>Returns:</B><DD>current user locale</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="message(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3> |
| message</H3> |
| <PRE> |
| public static java.lang.String <B>message</B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.String bundle, |
| java.lang.String locale, |
| java.lang.String key) |
| throws javax.servlet.jsp.JspException</PRE> |
| <DL> |
| <DD>Look up and return a message string, based on the specified parameters. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - The PageContext associated with this request<DD><CODE>bundle</CODE> - Name of the servlet context attribute for our |
| message resources bundle<DD><CODE>locale</CODE> - Name of the session attribute for our user's Locale<DD><CODE>key</CODE> - Message key to be looked up and returned |
| <DT><B>Returns:</B><DD>message string |
| <DT><B>Throws:</B> |
| <DD><CODE>javax.servlet.jsp.JspException</CODE> - if a lookup error occurs (will have been |
| saved in the request already)</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="message(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String, java.lang.Object[])"><!-- --></A><H3> |
| message</H3> |
| <PRE> |
| public static java.lang.String <B>message</B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.String bundle, |
| java.lang.String locale, |
| java.lang.String key, |
| java.lang.Object[] args) |
| throws javax.servlet.jsp.JspException</PRE> |
| <DL> |
| <DD>Look up and return a message string, based on the specified parameters. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - The PageContext associated with this request<DD><CODE>bundle</CODE> - Name of the servlet context attribute for our |
| message resources bundle<DD><CODE>locale</CODE> - Name of the session attribute for our user's Locale<DD><CODE>key</CODE> - Message key to be looked up and returned<DD><CODE>args</CODE> - Replacement parameters for this message |
| <DT><B>Returns:</B><DD>message string |
| <DT><B>Throws:</B> |
| <DD><CODE>javax.servlet.jsp.JspException</CODE> - if a lookup error occurs (will have been |
| saved in the request already)</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="retrieveMessageResources(javax.servlet.jsp.PageContext, java.lang.String, boolean)"><!-- --></A><H3> |
| retrieveMessageResources</H3> |
| <PRE> |
| private static <A HREF="../../../../org/apache/struts/util/MessageResources.html">MessageResources</A> <B>retrieveMessageResources</B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.String bundle, |
| boolean checkPageScope) |
| throws javax.servlet.jsp.JspException</PRE> |
| <DL> |
| <DD>Returns the appropriate MessageResources object for the current module and |
| the given bundle. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - Search the context's scopes for the resources.<DD><CODE>bundle</CODE> - The bundle name to look for. If this is <code>null</code>, the |
| default bundle name is used. |
| <DT><B>Returns:</B><DD>MessageResources The bundle's resources stored in some scope. |
| <DT><B>Throws:</B> |
| <DD><CODE>javax.servlet.jsp.JspException</CODE> - if the MessageResources object could not be found.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="populate(java.lang.Object, javax.servlet.http.HttpServletRequest)"><!-- --></A><H3> |
| populate</H3> |
| <PRE> |
| public static void <B>populate</B>(java.lang.Object bean, |
| javax.servlet.http.HttpServletRequest request) |
| throws javax.servlet.ServletException</PRE> |
| <DL> |
| <DD>Populate the properties of the specified JavaBean from the specified |
| HTTP request, based on matching each parameter name against the |
| corresponding JavaBeans "property setter" methods in the bean's class. |
| Suitable conversion is done for argument types as described under |
| <code>convert()</code>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>bean</CODE> - The JavaBean whose properties are to be set<DD><CODE>request</CODE> - The HTTP request whose parameters are to be used |
| to populate bean properties |
| <DT><B>Throws:</B> |
| <DD><CODE>javax.servlet.ServletException</CODE> - if an exception is thrown while setting |
| property values</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="populate(java.lang.Object, java.lang.String, java.lang.String, javax.servlet.http.HttpServletRequest)"><!-- --></A><H3> |
| populate</H3> |
| <PRE> |
| public static void <B>populate</B>(java.lang.Object bean, |
| java.lang.String prefix, |
| java.lang.String suffix, |
| javax.servlet.http.HttpServletRequest request) |
| throws javax.servlet.ServletException</PRE> |
| <DL> |
| <DD>Populate the properties of the specified JavaBean from the specified |
| HTTP request, based on matching each parameter name (plus an optional |
| prefix and/or suffix) against the corresponding JavaBeans "property |
| setter" methods in the bean's class. Suitable conversion is done for |
| argument types as described under <code>setProperties()</code>. |
| <p> |
| If you specify a non-null <code>prefix</code> and a non-null |
| <code>suffix</code>, the parameter name must match <strong>both</strong> |
| conditions for its value(s) to be used in populating bean properties. |
| If the request's content type is "multipart/form-data" and the |
| method is "POST", the HttpServletRequest object will be wrapped in |
| a MultipartRequestWrapper object. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>bean</CODE> - The JavaBean whose properties are to be set<DD><CODE>prefix</CODE> - The prefix (if any) to be prepend to bean property |
| names when looking for matching parameters<DD><CODE>suffix</CODE> - The suffix (if any) to be appended to bean property |
| names when looking for matching parameters<DD><CODE>request</CODE> - The HTTP request whose parameters are to be used |
| to populate bean properties |
| <DT><B>Throws:</B> |
| <DD><CODE>javax.servlet.ServletException</CODE> - if an exception is thrown while setting |
| property values</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getMultipartHandler(javax.servlet.http.HttpServletRequest)"><!-- --></A><H3> |
| getMultipartHandler</H3> |
| <PRE> |
| private static <A HREF="../../../../org/apache/struts/upload/MultipartRequestHandler.html">MultipartRequestHandler</A> <B>getMultipartHandler</B>(javax.servlet.http.HttpServletRequest request) |
| throws javax.servlet.ServletException</PRE> |
| <DL> |
| <DD>Try to locate a multipart request handler for this request. First, look |
| for a mapping-specific handler stored for us under an attribute. If one |
| is not present, use the global multipart handler, if there is one. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>request</CODE> - The HTTP request for which the multipart handler should |
| be found. |
| <DT><B>Returns:</B><DD>the multipart handler to use, or <code>null</code> if none is |
| found. |
| <DT><B>Throws:</B> |
| <DD><CODE>javax.servlet.ServletException</CODE> - if any exception is thrown while attempting |
| to locate the multipart handler.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getAllParametersForMultipartRequest(javax.servlet.http.HttpServletRequest, org.apache.struts.upload.MultipartRequestHandler)"><!-- --></A><H3> |
| getAllParametersForMultipartRequest</H3> |
| <PRE> |
| private static java.util.Map <B>getAllParametersForMultipartRequest</B>(javax.servlet.http.HttpServletRequest request, |
| <A HREF="../../../../org/apache/struts/upload/MultipartRequestHandler.html">MultipartRequestHandler</A> multipartHandler)</PRE> |
| <DL> |
| <DD>Create a map containing all of the parameters supplied for a multipart |
| request, keyed by parameter name. In addition to text and file elements |
| from the multipart body, query string parameters are included as well. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>request</CODE> - The (wrapped) HTTP request whose parameters are to be |
| added to the map.<DD><CODE>multipartHandler</CODE> - The multipart handler used to parse the request. |
| <DT><B>Returns:</B><DD>the map containing all parameters for this multipart request.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="present(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3> |
| present</H3> |
| <PRE> |
| public static boolean <B>present</B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.String bundle, |
| java.lang.String locale, |
| java.lang.String key) |
| throws javax.servlet.jsp.JspException</PRE> |
| <DL> |
| <DD>Return true if a message string for the specified message key |
| is present for the specified Locale. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - The PageContext associated with this request<DD><CODE>bundle</CODE> - Name of the servlet context attribute for our |
| message resources bundle<DD><CODE>locale</CODE> - Name of the session attribute for our user's Locale<DD><CODE>key</CODE> - Message key to be looked up and returned |
| <DT><B>Returns:</B><DD>true if a message string for message key exists |
| <DT><B>Throws:</B> |
| <DD><CODE>javax.servlet.jsp.JspException</CODE> - if a lookup error occurs (will have been |
| saved in the request already)</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="printableURL(java.net.URL)"><!-- --></A><H3> |
| printableURL</H3> |
| <PRE> |
| public static java.lang.String <B>printableURL</B>(java.net.URL url)</PRE> |
| <DL> |
| <DD>Compute the printable representation of a URL, leaving off the |
| scheme/host/port part if no host is specified. This will typically |
| be the case for URLs that were originally created from relative |
| or context-relative URIs. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>url</CODE> - URL to render in a printable representation |
| <DT><B>Returns:</B><DD>printable representation of a URL</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="actionURL(javax.servlet.http.HttpServletRequest, org.apache.struts.config.ActionConfig, java.lang.String)"><!-- --></A><H3> |
| actionURL</H3> |
| <PRE> |
| public static java.lang.String <B>actionURL</B>(javax.servlet.http.HttpServletRequest request, |
| <A HREF="../../../../org/apache/struts/config/ActionConfig.html">ActionConfig</A> action, |
| java.lang.String pattern)</PRE> |
| <DL> |
| <DD>Return the context-relative URL that corresponds to the specified |
| <A HREF="../../../../org/apache/struts/config/ActionConfig.html"><CODE>ActionConfig</CODE></A>, relative to the module associated |
| with the current modules's <A HREF="../../../../org/apache/struts/config/ModuleConfig.html"><CODE>ModuleConfig</CODE></A>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>action</CODE> - ActionConfig to be evaluated<DD><CODE>pattern</CODE> - URL pattern used to map the controller servlet |
| <DT><B>Returns:</B><DD>context-relative URL relative to the module<DT><B>Since:</B></DT> |
| <DD>Struts 1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="forwardURL(javax.servlet.http.HttpServletRequest, org.apache.struts.config.ForwardConfig)"><!-- --></A><H3> |
| forwardURL</H3> |
| <PRE> |
| public static java.lang.String <B>forwardURL</B>(javax.servlet.http.HttpServletRequest request, |
| <A HREF="../../../../org/apache/struts/config/ForwardConfig.html">ForwardConfig</A> forward)</PRE> |
| <DL> |
| <DD>Return the context-relative URL that corresponds to the specified |
| ForwardConfig. The URL is calculated based on the properties of the |
| <A HREF="../../../../org/apache/struts/config/ForwardConfig.html"><CODE>ForwardConfig</CODE></A> instance as follows: |
| <ul> |
| <li>If the <code>contextRelative</code> property is set, it is |
| assumed that the <code>path</code> property contains a path |
| that is already context-relative: |
| <ul> |
| <li>If the <code>path</code> property value starts with a slash, |
| it is returned unmodified.</li> |
| <li>If the <code>path</code> property value does not start |
| with a slash, a slash is prepended.</li> |
| </ul></li> |
| <li>Acquire the <code>forwardPattern</code> property from the |
| <code>ControllerConfig</code> for the application module used |
| to process this request. If no pattern was configured, default |
| to a pattern of <code>$M$P</code>, which is compatible with the |
| hard-coded mapping behavior in Struts 1.0.</li> |
| <li>Process the acquired <code>forwardPattern</code>, performing the |
| following substitutions: |
| <ul> |
| <li><strong>$M</strong> - Replaced by the module prefix for the |
| application module processing this request.</li> |
| <li><strong>$P</strong> - Replaced by the <code>path</code> |
| property of the specified <A HREF="../../../../org/apache/struts/config/ForwardConfig.html"><CODE>ForwardConfig</CODE></A>, prepended |
| with a slash if it does not start with one.</li> |
| <li><strong>$$</strong> - Replaced by a single dollar sign |
| character.</li> |
| <li><strong>$x</strong> (where "x" is any charater not listed |
| above) - Silently omit these two characters from the result |
| value. (This has the side effect of causing all other |
| $+letter combinations to be reserved.)</li> |
| </ul></li> |
| </ul> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>forward</CODE> - ForwardConfig to be evaluated |
| <DT><B>Returns:</B><DD>context-relative URL<DT><B>Since:</B></DT> |
| <DD>Struts 1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="pageURL(javax.servlet.http.HttpServletRequest, java.lang.String)"><!-- --></A><H3> |
| pageURL</H3> |
| <PRE> |
| public static java.lang.String <B>pageURL</B>(javax.servlet.http.HttpServletRequest request, |
| java.lang.String page)</PRE> |
| <DL> |
| <DD><p>Return the context-relative URL that corresponds to the specified |
| <code>page</code> attribute value, calculated based on the |
| <code>pagePattern</code> property of the current module's |
| <A HREF="../../../../org/apache/struts/config/ModuleConfig.html"><CODE>ModuleConfig</CODE></A>.</p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>page</CODE> - The module-relative URL to be substituted in |
| to the <code>pagePattern</code> pattern for the current module |
| (<strong>MUST</strong> start with a slash) |
| <DT><B>Returns:</B><DD>context-relative URL<DT><B>Since:</B></DT> |
| <DD>Struts 1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="requestURL(javax.servlet.http.HttpServletRequest)"><!-- --></A><H3> |
| requestURL</H3> |
| <PRE> |
| public static java.net.URL <B>requestURL</B>(javax.servlet.http.HttpServletRequest request) |
| throws java.net.MalformedURLException</PRE> |
| <DL> |
| <DD>Return the URL representing the current request. This is equivalent |
| to <code>HttpServletRequest.getRequestURL()</code> in Servlet 2.3. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing |
| <DT><B>Returns:</B><DD>URL representing the current request |
| <DT><B>Throws:</B> |
| <DD><CODE>java.net.MalformedURLException</CODE> - if a URL cannot be created</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="serverURL(javax.servlet.http.HttpServletRequest)"><!-- --></A><H3> |
| serverURL</H3> |
| <PRE> |
| public static java.net.URL <B>serverURL</B>(javax.servlet.http.HttpServletRequest request) |
| throws java.net.MalformedURLException</PRE> |
| <DL> |
| <DD>Return the URL representing the scheme, server, and port number of |
| the current request. Server-relative URLs can be created by simply |
| appending the server-relative path (starting with '/') to this. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing |
| <DT><B>Returns:</B><DD>URL representing the scheme, server, and port number of |
| the current request |
| <DT><B>Throws:</B> |
| <DD><CODE>java.net.MalformedURLException</CODE> - if a URL cannot be created</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="saveException(javax.servlet.jsp.PageContext, java.lang.Throwable)"><!-- --></A><H3> |
| saveException</H3> |
| <PRE> |
| public static void <B>saveException</B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.Throwable exception)</PRE> |
| <DL> |
| <DD>Save the specified exception as a request attribute for later use. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - The PageContext for the current page<DD><CODE>exception</CODE> - The exception to be saved</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="selectApplication(java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)"><!-- --></A><H3> |
| selectApplication</H3> |
| <PRE> |
| public static void <B>selectApplication</B>(java.lang.String prefix, |
| javax.servlet.http.HttpServletRequest request, |
| javax.servlet.ServletContext context)</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/struts/util/RequestUtils.html#selectModule(java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)"><CODE>selectModule(String,HttpServletRequest,ServletContext)</CODE></A></I> |
| <P> |
| <DD>Select the module to which the specified request belongs, and |
| add corresponding request attributes to this request. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>prefix</CODE> - The module prefix of the desired module<DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>context</CODE> - The ServletContext for this web application</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="selectModule(java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)"><!-- --></A><H3> |
| selectModule</H3> |
| <PRE> |
| public static void <B>selectModule</B>(java.lang.String prefix, |
| javax.servlet.http.HttpServletRequest request, |
| javax.servlet.ServletContext context)</PRE> |
| <DL> |
| <DD>Select the module to which the specified request belongs, and |
| add corresponding request attributes to this request. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>prefix</CODE> - The module prefix of the desired module<DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>context</CODE> - The ServletContext for this web application<DT><B>Since:</B></DT> |
| <DD>struts 1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="selectApplication(javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)"><!-- --></A><H3> |
| selectApplication</H3> |
| <PRE> |
| public static void <B>selectApplication</B>(javax.servlet.http.HttpServletRequest request, |
| javax.servlet.ServletContext context)</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/struts/util/RequestUtils.html#selectModule(javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)"><CODE>selectModule(HttpServletRequest,ServletContext)</CODE></A></I> |
| <P> |
| <DD>Select the module to which the specified request belongs, and |
| add corresponding request attributes to this request. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>context</CODE> - The ServletContext for this web application</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="selectModule(javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)"><!-- --></A><H3> |
| selectModule</H3> |
| <PRE> |
| public static void <B>selectModule</B>(javax.servlet.http.HttpServletRequest request, |
| javax.servlet.ServletContext context)</PRE> |
| <DL> |
| <DD>Select the module to which the specified request belongs, and |
| add corresponding request attributes to this request. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>context</CODE> - The ServletContext for this web application</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getModuleName(javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)"><!-- --></A><H3> |
| getModuleName</H3> |
| <PRE> |
| public static java.lang.String <B>getModuleName</B>(javax.servlet.http.HttpServletRequest request, |
| javax.servlet.ServletContext context)</PRE> |
| <DL> |
| <DD>Get the module name to which the specified request belong. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>context</CODE> - The ServletContext for this web application |
| <DT><B>Returns:</B><DD>The module prefix or ""</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getModuleName(java.lang.String, javax.servlet.ServletContext)"><!-- --></A><H3> |
| getModuleName</H3> |
| <PRE> |
| public static java.lang.String <B>getModuleName</B>(java.lang.String matchPath, |
| javax.servlet.ServletContext context)</PRE> |
| <DL> |
| <DD>Get the module name to which the specified uri belong. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>matchPath</CODE> - The uri from which we want the module name.<DD><CODE>context</CODE> - The ServletContext for this web application |
| <DT><B>Returns:</B><DD>The module prefix or ""</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getRequestModuleConfig(javax.servlet.http.HttpServletRequest)"><!-- --></A><H3> |
| getRequestModuleConfig</H3> |
| <PRE> |
| public static <A HREF="../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A> <B>getRequestModuleConfig</B>(javax.servlet.http.HttpServletRequest request)</PRE> |
| <DL> |
| <DD>Return the current ModuleConfig object stored in request, if it exists, |
| null otherwise. |
| This method can be used by plugin to retrieve the current module config |
| object. If no moduleConfig is found, this means that the request haven't |
| hit the server throught the struts servlet. The appropriate module config |
| can be set and found with |
| <code><A HREF="../../../../org/apache/struts/util/RequestUtils.html#selectModule(javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)"><CODE>selectModule(HttpServletRequest, ServletContext)</CODE></A> </code>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing |
| <DT><B>Returns:</B><DD>the ModuleConfig object from request, or null if none is set in |
| the request.<DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getModuleConfig(javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)"><!-- --></A><H3> |
| getModuleConfig</H3> |
| <PRE> |
| public static <A HREF="../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A> <B>getModuleConfig</B>(javax.servlet.http.HttpServletRequest request, |
| javax.servlet.ServletContext context)</PRE> |
| <DL> |
| <DD>Return the ModuleConfig object is it exists, null otherwise. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>context</CODE> - The ServletContext for this web application |
| <DT><B>Returns:</B><DD>the ModuleConfig object<DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getModuleConfig(javax.servlet.jsp.PageContext)"><!-- --></A><H3> |
| getModuleConfig</H3> |
| <PRE> |
| public static <A HREF="../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A> <B>getModuleConfig</B>(javax.servlet.jsp.PageContext pageContext)</PRE> |
| <DL> |
| <DD>Return the ModuleConfig object if it exists, null if otherwise. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - The page context. |
| <DT><B>Returns:</B><DD>the ModuleConfig object<DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getApplicationPrefixes(javax.servlet.ServletContext)"><!-- --></A><H3> |
| getApplicationPrefixes</H3> |
| <PRE> |
| public static java.lang.String[] <B>getApplicationPrefixes</B>(javax.servlet.ServletContext context)</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>Use getModulePrefixes(ServletContext) instead.</I> |
| <P> |
| <DD>Return the list of module prefixes that are defined for |
| this web application, creating it if necessary. <strong>NOTE</strong> - |
| the "" prefix for the default module is not included in this list. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>context</CODE> - The ServletContext for this web application |
| <DT><B>Returns:</B><DD>an array of module prefixes</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getModulePrefixes(javax.servlet.ServletContext)"><!-- --></A><H3> |
| getModulePrefixes</H3> |
| <PRE> |
| public static java.lang.String[] <B>getModulePrefixes</B>(javax.servlet.ServletContext context)</PRE> |
| <DL> |
| <DD>Return the list of module prefixes that are defined for |
| this web application, creating it if necessary. <strong>NOTE</strong> - |
| the "" prefix for the default module is not included in this list. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>context</CODE> - The ServletContext for this web application |
| <DT><B>Returns:</B><DD>an array of module prefixes<DT><B>Since:</B></DT> |
| <DD>Struts 1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getActionMessages(javax.servlet.jsp.PageContext, java.lang.String)"><!-- --></A><H3> |
| getActionMessages</H3> |
| <PRE> |
| public static <A HREF="../../../../org/apache/struts/action/ActionMessages.html">ActionMessages</A> <B>getActionMessages</B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.String paramName) |
| throws javax.servlet.jsp.JspException</PRE> |
| <DL> |
| <DD>Retrieves the value from request scope and if it isn't already an <code>ActionMessages</code> |
| some classes are converted to one. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - The PageContext for the current page<DD><CODE>paramName</CODE> - Key for parameter value |
| <DT><B>Returns:</B><DD>ActionErros in page context. |
| <DT><B>Throws:</B> |
| <DD><CODE>javax.servlet.jsp.JspException</CODE> - if</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getActionErrors(javax.servlet.jsp.PageContext, java.lang.String)"><!-- --></A><H3> |
| getActionErrors</H3> |
| <PRE> |
| public static <A HREF="../../../../org/apache/struts/action/ActionErrors.html">ActionErrors</A> <B>getActionErrors</B>(javax.servlet.jsp.PageContext pageContext, |
| java.lang.String paramName) |
| throws javax.servlet.jsp.JspException</PRE> |
| <DL> |
| <DD>Retrieves the value from request scope and if it isn't already an <code>ErrorMessages</code> |
| some classes are converted to one. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - The PageContext for the current page<DD><CODE>paramName</CODE> - Key for parameter value |
| <DT><B>Returns:</B><DD>ActionErrors from request scope |
| <DT><B>Throws:</B> |
| <DD><CODE>javax.servlet.jsp.JspException</CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="encodeURL(java.lang.String)"><!-- --></A><H3> |
| encodeURL</H3> |
| <PRE> |
| public static java.lang.String <B>encodeURL</B>(java.lang.String url)</PRE> |
| <DL> |
| <DD>Use the new URLEncoder.encode() method from java 1.4 if available, else |
| use the old deprecated version. This method uses reflection to find the appropriate |
| method; if the reflection operations throw exceptions, this will return the url |
| encoded with the old URLEncoder.encode() method. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>String - the encoded url.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isXhtml(javax.servlet.jsp.PageContext)"><!-- --></A><H3> |
| isXhtml</H3> |
| <PRE> |
| public static boolean <B>isXhtml</B>(javax.servlet.jsp.PageContext pageContext)</PRE> |
| <DL> |
| <DD>Returns true if the custom tags are in XHTML mode. |
| <P> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>Struts 1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| <!-- ========== START OF NAVBAR ========== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"> |
| <TR> |
| <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> |
| <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"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RequestUtils.html"><FONT CLASS="NavBarFont1"><B>Use</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="../../../../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="../../../../org/apache/struts/util/PropertyMessageResourcesFactory.html"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/struts/util/ResponseUtils.html"><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="RequestUtils.html" TARGET="_top"><B>NO FRAMES</B></A> |
| |
| <SCRIPT> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../allclasses-noframe.html" TARGET=""><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> |
| <!-- =========== END OF NAVBAR =========== --> |
| |
| <HR> |
| Copyright © 2000-2003 - Apache Software Foundation |
| </BODY> |
| </HTML> |