ekbush      2002/12/23 21:30:07

  Modified:    src/share/org/apache/struts/action ExceptionHandler.java
  Log:
  The forward returned from execute should be contextRelative no matter which
  way it is obtained.
  
  Revision  Changes    Path
  1.13      +2 -1      
jakarta-struts/src/share/org/apache/struts/action/ExceptionHandler.java
  
  Index: ExceptionHandler.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/action/ExceptionHandler.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- ExceptionHandler.java     12 Dec 2002 21:30:55 -0000      1.12
  +++ ExceptionHandler.java     24 Dec 2002 05:30:07 -0000      1.13
  @@ -101,10 +101,11 @@
           // or from the form input
           if (ae.getPath() != null) {
               forward = new ActionForward(ae.getPath());
  -         forward.setContextRelative(true);
           } else {
            forward = new ActionForward(mapping.getInput());
           }
  +
  +        forward.setContextRelative(true);
   
           // Figure out the error
           if (ex instanceof ModuleException) {
  
  
  

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

Reply via email to