* 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 };
/**
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());
}