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/12 13:42:21 UTC

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

     [ https://issues.apache.org/jira/browse/WW-4640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukasz Lenart resolved WW-4640.
-------------------------------
    Resolution: Fixed

> 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)