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=22864>. 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=22864 LookupDispatchAction and DispatchAction getMethodName enhancement Summary: LookupDispatchAction and DispatchAction getMethodName enhancement Product: Struts Version: Nightly Build Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Controller AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Rather than returning null with the getMethodName when a value is not specified it is preferable that it actually return a value. I am attaching a patch that causes the getMethodName to return "unspecified" rather than null. I wrote some custom Actions that were very similar to the LDA and DA because the LDA did not provide the neccessary hooks to get at certain information. Being that the getMethodName is protected it is available for use in extended actions. I just don't like the idea of having to do a null check in my code in order to get the string "unspecified" when it could be done in the LDA and DA action themselves. Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]