craigmcc    2002/08/26 17:38:13

  Modified:    src/share/org/apache/struts/action RequestProcessor.java
               src/share/org/apache/struts/config ControllerConfig.java
  Log:
  Additional debug logging -- no functional changes.
  
  Revision  Changes    Path
  1.18      +12 -5     
jakarta-struts/src/share/org/apache/struts/action/RequestProcessor.java
  
  Index: RequestProcessor.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/action/RequestProcessor.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- RequestProcessor.java     24 Jul 2002 15:05:25 -0000      1.17
  +++ RequestProcessor.java     27 Aug 2002 00:38:12 -0000      1.18
  @@ -387,8 +387,12 @@
                                           HttpServletResponse response,
                                           ActionForward forward)
           throws IOException, ServletException {
  -    processForwardConfig( request, response, forward );
  +
  +        processForwardConfig( request, response, forward );
  +
       }
  +
  +
       /**
        * Forward or redirect to the specified destination, by the specified
        * mechanism.
  @@ -407,6 +411,9 @@
   
           if (forward == null) {
               return;
  +        }
  +        if (log.isDebugEnabled()) {
  +            log.debug("processForwardConfig(" + forward + ")");
           }
   
           String uri = RequestUtils.forwardURL(request, forward);
  
  
  
  1.10      +16 -4     
jakarta-struts/src/share/org/apache/struts/config/ControllerConfig.java
  
  Index: ControllerConfig.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/config/ControllerConfig.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- ControllerConfig.java     27 Jul 2002 21:53:13 -0000      1.9
  +++ ControllerConfig.java     27 Aug 2002 00:38:13 -0000      1.10
  @@ -358,14 +358,26 @@
               sb.append(",contentType=");
               sb.append(this.contentType);
           }
  +        if (this.forwardPattern != null) {
  +            sb.append(",forwardPattern=");
  +            sb.append(this.forwardPattern);
  +        }
  +        sb.append(",inputForward=");
  +        sb.append(this.inputForward);
           sb.append(",locale=");
           sb.append(this.locale);
           if (this.maxFileSize != null) {
               sb.append(",maxFileSzie=");
               sb.append(this.maxFileSize);
           }
  +        sb.append(",multipartClass=");
  +        sb.append(this.multipartClass);
           sb.append(",nocache=");
           sb.append(this.nocache);
  +        if (this.pagePattern != null) {
  +            sb.append(",pagePattern=");
  +            sb.append(this.pagePattern);
  +        }
           sb.append(",processorClass=");
           sb.append(this.processorClass);
           if (this.tempDir != null) {
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to