DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13878>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13878

Form tag eats action value with default servlet mapping

           Summary: Form tag eats action value with default servlet mapping
           Product: Struts
           Version: 1.0.2 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Custom Tags
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If you use the default servlet-mapping to access the action servlet: 
<servlet-mapping> 
 <servlet-name>action</servlet-name> 
  <url-pattern>/</url-pattern> 
</servlet-mapping> 
Then the form tag ignores the action target, such that any action goes to 
the application root. 
The bug can be fixed with the following patch: 
 
724c724,726 
<             } 
--- 
>             } else if ( "/".equals( servletMapping ) ) { 
>               value.append( actionMapping ); 
>             } 
 
to the File  
src/share/org/apache/struts/taglib/html/FormTag.java

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>

Reply via email to