struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgra...@apache.org
Subject cvs commit: jakarta-struts/src/share/org/apache/struts/action ActionServlet.java
Date Sat, 02 Aug 2003 21:08:55 GMT
dgraham     2003/08/02 14:08:55

  Modified:    src/share/org/apache/struts/action ActionServlet.java
  Log:
  Replace RequestUtils calls with ModuleUtils.
  
  Revision  Changes    Path
  1.165     +8 -10     jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java
  
  Index: ActionServlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java,v
  retrieving revision 1.164
  retrieving revision 1.165
  diff -u -r1.164 -r1.165
  --- ActionServlet.java	27 Jul 2003 04:57:35 -0000	1.164
  +++ ActionServlet.java	2 Aug 2003 21:08:55 -0000	1.165
  @@ -111,6 +111,7 @@
   import org.apache.struts.util.GenericDataSource;
   import org.apache.struts.util.MessageResources;
   import org.apache.struts.util.MessageResourcesFactory;
  +import org.apache.struts.util.ModuleUtils;
   import org.apache.struts.util.RequestUtils;
   import org.apache.struts.util.ServletContextWriter;
   import org.xml.sax.InputSource;
  @@ -1161,14 +1162,11 @@
        * @exception IOException if an input/output error occurs
        * @exception ServletException if a servlet exception is thrown
        */
  -    protected void process(HttpServletRequest request,
  -                           HttpServletResponse response)
  +    protected void process(HttpServletRequest request, HttpServletResponse response)
           throws IOException, ServletException {
   
  -        RequestUtils.selectModule(request, getServletContext());
  -        getRequestProcessor(getModuleConfig(request)).process
  -            (request, response);
  -
  +        ModuleUtils.getInstance().selectModule(request, getServletContext());
  +        getRequestProcessor(getModuleConfig(request)).process(request, response);
       }
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Mime
View raw message