rleland     2002/10/29 18:30:31

  Modified:    src/share/org/apache/struts/action Action.java
  Log:
  use method getModuleConfig instead of getApplicationConfig to
  used internally to class
  
  Revision  Changes    Path
  1.50      +6 -6      jakarta-struts/src/share/org/apache/struts/action/Action.java
  
  Index: Action.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/Action.java,v
  retrieving revision 1.49
  retrieving revision 1.50
  diff -u -r1.49 -r1.50
  --- Action.java       27 Oct 2002 05:56:59 -0000      1.49
  +++ Action.java       30 Oct 2002 02:30:31 -0000      1.50
  @@ -527,7 +527,7 @@
   
           // Identify the current application module
           ServletContext context = getServlet().getServletContext();
  -        ApplicationConfig appConfig = 
RequestUtils.getApplicationConfig(request,context);
  +        ApplicationConfig appConfig = RequestUtils.getModuleConfig(request,context);
   
           // Return the requested data source instance
           return ((DataSource) context.getAttribute
  @@ -597,7 +597,7 @@
   
           // Identify the current application module
           ServletContext context = getServlet().getServletContext();
  -        ApplicationConfig appConfig = 
RequestUtils.getApplicationConfig(request,context);
  +        ApplicationConfig appConfig = RequestUtils.getModuleConfig(request,context);
   
           // Return the requested message resources instance
           return ((MessageResources) context.getAttribute
  
  
  

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

Reply via email to