struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-3857) RestActionMapper should support static resources
Date Wed, 01 Aug 2012 07:25:34 GMT

    [ https://issues.apache.org/jira/browse/WW-3857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426356#comment-13426356
] 

Hudson commented on WW-3857:
----------------------------

Integrated in Struts2 #514 (See [https://builds.apache.org/job/Struts2/514/])
    WW-3857 changes RestActionMapper to return null if it cannot determine action mapping,
adds comment to API (Revision 1367870)

     Result = SUCCESS
lukaszlenart : 
Files : 
* /struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/ActionMapper.java
* /struts/struts2/trunk/plugins/rest/src/main/java/org/apache/struts2/rest/RestActionMapper.java
* /struts/struts2/trunk/plugins/rest/src/test/java/org/apache/struts2/rest/RestActionMapperTest.java

                
> 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

        

Mime
View raw message