You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2016/06/01 05:02:12 UTC

[jira] [Created] (WW-4640) When method is not allowed throw exception with meanigful message

Lukasz Lenart created WW-4640:
---------------------------------

             Summary: When method is not allowed throw exception with meanigful message
                 Key: WW-4640
                 URL: https://issues.apache.org/jira/browse/WW-4640
             Project: Struts 2
          Issue Type: Improvement
          Components: Core Actions
    Affects Versions: 2.5
            Reporter: Lukasz Lenart
             Fix For: 2.5.1


Instead of throwing {{No such method}} it would be better to throw {{Method not allowed}}
http://stackoverflow.com/questions/37218790/wildcard-action-mapping-no-longer-working-after-updating-to-struts-2-5?noredirect=1#comment62166119_37218790



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)