[
https://issues.apache.org/jira/browse/WW-3857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13463489#comment-13463489
]
oscar peng commented on WW-3857:
--------------------------------
I've downloaded the patch file RestActionMapper.java,compiled it and replaced
the old class with the new one RestActionMapper.class in
struts2-rest-plugin-2.3.4.1.jar,run the strut2-rest-showcase.war,still gives
out the same result:
Struts Problem Report
Struts has detected an unhandled exception:
Messages:
There is no Action mapped for namespace / and action name orders.
Stacktraces
There is no Action mapped for namespace / and action name orders. - [unknown
location]
com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:185)
...
Do i need any more configuration in web.xml or struts.xml or
OrdersController.java to ensure the action mapping "namespace / and action name
orders"?
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira