dgraham     2003/02/24 21:14:17

  Modified:    src/share/org/apache/struts/action RequestProcessor.java
  Log:
  Deprecated processActionForward() because ActionForward is a subclass of
  ForwardConfig so there's no reason we can't use processForwardConfig() instead.
  
  Revision  Changes    Path
  1.27      +7 -8      
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.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- RequestProcessor.java     16 Feb 2003 02:51:32 -0000      1.26
  +++ RequestProcessor.java     25 Feb 2003 05:14:17 -0000      1.27
  @@ -276,7 +276,7 @@
                                    action, form, mapping);
   
           // Process the returned ActionForward instance
  -        processActionForward(request, response, forward);
  +        processForwardConfig(request, response, forward);
   
       }
   
  @@ -392,6 +392,7 @@
        *
        * @exception IOException if an input/output error occurs
        * @exception ServletException if a servlet exception occurs
  +     * @deprecated Use processForwardConfig() instead.
        */
       protected void processActionForward(HttpServletRequest request,
                                           HttpServletResponse response,
  @@ -405,9 +406,7 @@
   
       /**
        * Forward or redirect to the specified destination, by the specified
  -     * mechanism.
  -     * This method uses the ForwardConfig object. It should be used in
  -     * place of processActionForward(...).
  +     * mechanism.  This method uses a ForwardConfig object instead an ActionForward.
        *
        * @param request The servlet request we are processing
        * @param response The servlet response we are creating
  
  
  

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

Reply via email to