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 2023/06/28 07:00:00 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: 6.4.0
(was: 6.2.0)
> 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
> Priority: Major
> Fix For: 6.4.0
>
>
> 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 was sent by Atlassian Jira
(v8.20.10#820010)