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 2012/08/01 09:20:34 UTC

[jira] [Resolved] (WW-3857) RestActionMapper should support static resources

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

Lukasz Lenart resolved WW-3857.
-------------------------------

    Resolution: Fixed

Solved, right now RestActionMapper will return null if action names wasn't determined.
                
> RestActionMapper should support static resources
> ------------------------------------------------
>
>                 Key: WW-3857
>                 URL: https://issues.apache.org/jira/browse/WW-3857
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Plugin - REST
>    Affects Versions: 2.3.4
>            Reporter: Lukasz Lenart
>            Assignee: Lukasz Lenart
>             Fix For: 2.3.5
>
>
> Take a look on rest-showcase app, there is index.jsp in the root webapp folder but it will never be reached as RestActionMapper return an empty ActionMapping for request like this http://localhost:8080/struts2-rest-showcase/
> RestActionMapper#getMapping() must return null if it cannot determine action.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira