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/10/24 14:39:44 UTC

DO NOT REPLY [Bug 24099] New: - warn about ambiguity if a path string appears twice in struts-config.xml was: No action instance for path

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

warn about ambiguity if a path string appears twice in struts-config.xml was: No action instance for path

           Summary: warn about ambiguity if a path string appears twice in
                    struts-config.xml was: No action instance for path
           Product: Struts
           Version: 1.0 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Unknown
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: hauser@acm.org


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.

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