dgraham     2003/02/17 20:01:07

  Modified:    src/share/org/apache/struts/actions DispatchAction.java
  Log:
  Fixed PR# 17116.
  
  Revision  Changes    Path
  1.14      +7 -10     
jakarta-struts/src/share/org/apache/struts/actions/DispatchAction.java
  
  Index: DispatchAction.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/actions/DispatchAction.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- DispatchAction.java       5 Feb 2003 01:03:28 -0000       1.13
  +++ DispatchAction.java       18 Feb 2003 04:01:07 -0000      1.14
  @@ -208,15 +208,12 @@
               return (null);
           }
   
  -        // Identify the method name to be dispatched to
  +        // Identify the method name to be dispatched to.
  +        // dispatchMethod() will call unspecified() if name is null
           String name = request.getParameter(parameter);
  -        if (name == null) {
  -            name = "unspecified";
  -        }
   
           // Invoke the named method, and return the result
  -        return dispatchMethod(mapping,form,request,response,name);
  -
  +        return dispatchMethod(mapping, form, request, response, name);
       }
   
   
  
  
  

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

Reply via email to