craigmcc    01/01/27 19:04:32

  Modified:    src/share/org/apache/struts/action ActionServlet.java
  Log:
  Cause reload() to unload and reload the configured data sources, along with
  all of the other things that are updated.
  
  Submitted by: Johan Compagner <[EMAIL PROTECTED]>
  
  Revision  Changes    Path
  1.56      +7 -4      
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.55
  retrieving revision 1.56
  diff -u -r1.55 -r1.56
  --- ActionServlet.java        2001/01/16 03:52:57     1.55
  +++ ActionServlet.java        2001/01/28 03:04:32     1.56
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java,v 1.55 
2001/01/16 03:52:57 craigmcc Exp $
  - * $Revision: 1.55 $
  - * $Date: 2001/01/16 03:52:57 $
  + * $Header: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java,v 1.56 
2001/01/28 03:04:32 craigmcc Exp $
  + * $Revision: 1.56 $
  + * $Date: 2001/01/28 03:04:32 $
    *
    * ====================================================================
    *
  @@ -228,7 +228,7 @@
    * </ul>
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.55 $ $Date: 2001/01/16 03:52:57 $
  + * @version $Revision: 1.56 $ $Date: 2001/01/28 03:04:32 $
    */
   
   public class ActionServlet
  @@ -719,6 +719,7 @@
           // Shut down our existing environment
           destroyActions();
           destroyApplication();
  +        destroyDataSources();
           destroyInternal();
   
           // Restart from our confirmation files
  @@ -727,6 +728,8 @@
           initDebug();
           initApplication();
           initMapping();
  +        initUpload();
  +        initDataSources();
           initOther();
   
       }
  
  
  

Reply via email to