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=18368>.
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=18368

Using dots (.) in action mappings

           Summary: Using dots (.) in action mappings
           Product: Struts
           Version: 1.1 RC1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Controller
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Using the dot (ie '.') character in action mappings seems to cause some
side-effects with custom tags.

Example: if using
 <action-mappings>
  <action path="/login.validate"  ... />
Then:
  <html:form action="/login.validate">
will not find the corresponding mapping in the xml file.
The tag seems to search for a wrong alias ("login" instead of "login-validate").
I guess the algorithm supposes that all chars behind the "." are part of the
servlet mapping (".do")

When replacing "." by "-" (ie "login-validate"), everyting works fine.

Best regards to the Struts team.

Bernard Ligny
mailto: [EMAIL PROTECTED]

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

Reply via email to