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

Anchor not taken into account in RequestUtils.getActionMappingName(String)

           Summary: Anchor not taken into account in
                    RequestUtils.getActionMappingName(String)
           Product: Struts
           Version: 1.1 Final
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Utilities
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I saw the bug while trying to put an anchor on a html form tag:

&lt;html:form action="/saveAction#pgid21"&gt;

The error I get is:

"Cannot retrieve mapping for action /savePublishJob#pgid21"

I did a workaround and added an ? symbol to the action:

&lt;html:form action="/saveAction?#pgid21"&gt;

This works fine, but I believe the '#' symbol should be taken into account in 
the org.apache.struts.util.RequestUtils.getActionMappingName(String) method 
just like the '?' symbol does.

Oscar

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

Reply via email to