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 (Updated) (JIRA)" <ji...@apache.org> on 2011/12/06 10:15:40 UTC
[jira] [Updated] (WW-2820) REST Plugin Issues/Improvements
[ https://issues.apache.org/jira/browse/WW-2820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart updated WW-2820:
------------------------------
Fix Version/s: (was: Future)
3.x
> REST Plugin Issues/Improvements
> -------------------------------
>
> Key: WW-2820
> URL: https://issues.apache.org/jira/browse/WW-2820
> Project: Struts 2
> Issue Type: Improvement
> Components: Plugin - REST
> Affects Versions: 2.1.2
> Reporter: Alvin Singh
> Fix For: 3.x
>
>
> I didn't know whether I should create separate issues for each (some are not issues but just require some doco). Issues described here - http://www.nabble.com/forum/ViewPost.jtp?post=19230238&framed=y -
> - If you want a blank namespace - do not use "/" as your namespace in your struts xml's or in namespace notation. Inconsistent behavior starts to occur.
> - If you want a specific namespace - e.g. /v1 - you must ensure your namespace has prefixed slash i.e. "/v1" otherwise it will not work
> - If you are using tiles or even jsp (I think) and have the same name folder as a namespace your rest urls will not execute the action
> - Your actions/controllers must be suffixed with 'Controller' or the action mapper will not pick them up (wiki says it is optional)
> - If you have a action/controller name the same as the package name its in - strange things happen (can't find action mapping etc.). e.g package name is au.com.test.rest.space, class in this package with name SpaceController will not work correctly - SpacesController will.
>
--
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