[prev in list] [next in list] [prev in thread] [next in thread]
List: struts-dev
Subject: [jira] Created: (WW-2820) REST Plugin Issues/Improvements
From: "Alvin Singh (JIRA)" <jira () apache ! org>
Date: 2008-09-30 11:03:24
Message-ID: 149980674.1222772604964.JavaMail.jira () brutus
[Download RAW message or body]
REST Plugin Issues/Improvements
-------------------------------
Key: WW-2820
URL: https://issues.apache.org/struts/browse/WW-2820
Project: Struts 2
Issue Type: Improvement
Components: Plugin - REST
Affects Versions: 2.1.2
Reporter: Alvin Singh
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.
-
You can reply to this email to add a comment to the issue online.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic