- circumvented the JDBC ?-bug
[mir.git] / source / mir / servlet / ServletModuleDispatch.java
index 04cec99..51ebbdf 100755 (executable)
@@ -42,14 +42,14 @@ import  mir.log.*;
  * Dispatcher, calls the method passed to ServletModule Class, through the "do"
  * Parameter (via POST or GET)
  *
- * @version $Id: ServletModuleDispatch.java,v 1.9 2002/11/29 13:43:41 zapata Exp $
+ * @version $Id: ServletModuleDispatch.java,v 1.11 2002/12/01 15:05:51 zapata Exp $
  *
  * @Author rk
  *
  */
 public final class ServletModuleDispatch {
 
-  private static LoggerWrapper logger = new LoggerWrapper("servlet.dispatch");
+  private static LoggerWrapper logger = new LoggerWrapper("ServletModule.Dispatch");
   private static final Class[] SIGNATURE = { HttpServletRequest.class, HttpServletResponse.class };
 
  /**
@@ -102,7 +102,7 @@ public final class ServletModuleDispatch {
       throw new ServletModuleException("method not allowed!" + e.getMessage());
     }
     catch ( InvocationTargetException e) {
-      System.out.println(e.getMessage());
+      logger.debug( "invocation target exception: " + e.getMessage());
       if (e.getTargetException() instanceof ServletModuleUserException) {
         throw new ServletModuleUserException(e.getTargetException().getMessage());
       }