You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/07/15 18:12:51 UTC
DO NOT REPLY [Bug 21614] New: -
Anchor not taken into account in RequestUtils.getActionMappingName(String)
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: struts-dev@jakarta.apache.org
ReportedBy: orotel@eluniversal.com
I saw the bug while trying to put an anchor on a html form tag:
<html:form action="/saveAction#pgid21">
The error I get is:
"Cannot retrieve mapping for action /savePublishJob#pgid21"
I did a workaround and added an ? symbol to the action:
<html:form action="/saveAction?#pgid21">
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: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org