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/12/10 09:39:48 UTC

DO NOT REPLY [Bug 25383] New: - LookupDispatchAction does not work without definition

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

LookupDispatchAction does not work without <message-resource> definition

           Summary: LookupDispatchAction does not work without <message-
                    resource> definition
           Product: Struts
           Version: 1.1 Final
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Standard Actions
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: joniniem1@hotmail.com


When using LookupDispatchAction in a module with no <message-resource> defined,
the execute() method will always throw an exception with erraneous error message
'Request[{0}] does not contain handler parameter named {1}'. See bug 21226.

Suggestion:
1. The <message-resource> tag should be made mandatory, or 
2. LookupDispatchAction should fall back to application-wide message resource, or
3. It should be documented in the API that <message-resource> is required.

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