[ http://issues.apache.org/struts/browse/STR-1808?page=all ]
Paul Benedict updated STR-1808:
-------------------------------
Bugzilla Id: (was: 24099)
Component/s: Core
(was: Unknown)
Assignee: (was: Struts Developers)
> [config] warn about ambiguity if a path string appears twice in
> struts-config.xml was: No action instance for path
> ------------------------------------------------------------------------------------------------------------------
>
> Key: STR-1808
> URL: http://issues.apache.org/struts/browse/STR-1808
> Project: Struts 1
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.0 Final
> Environment: Operating System: other
> Platform: Other
> Reporter: Ralf Hauser
> Priority: Minor
>
> By copy and paste error, I had a path twice.
> Luckily the class for the second one wasn't available yet, so, eventually, it
> failed. But it took me a long time to figure out that this was the case
> because
> I looked at the first occurrence and there everything appeared to be fine.
> Suggestion: When parsing struts-config.xml, abort or at least warn in debug
> mode
> when a path is ambigous!
> The error I got, that didn't really lead me to the double problem was.
> HTTP Status 500 - No action instance for path /doubleString could be created
> type Status report
> message No action instance for path /doubleString could be created
> description The server encountered an internal error (No action instance for
> path /doubleString could be created) that prevented it from fulfilling this
> request.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira