Ultimately, we should declare what are "resources" and get the free mapping
from the REST plugin for those Controllers.  Seems like that is what the
NamspaceBasedActionMapper is, but I was thinking either a

@Resource annotation at the top of the Controller

or 

<constant name="struts.rest.resources" value="Person,Accountant,Gun,Escape"
/>

-D


DNewfield wrote:
> 
> Dave Newton wrote:
>> Dale Newfield wrote:
>>> I built something I call NamespaceBasedActionMapper that allows you to 
>>> specify different action mappers for different namespaces.  If this is 
>>> what you're looking for, let me know.
>> 
>> Oh, that's kinda interesting--is it on Google code? Plugin?
> 
> I offered to contribute it a couple times, but nobody piped up...
> ...if there's interest I can create a JIRA feature request and attach 
> the class to it.
> 
> -Dale
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/REST-Plugin-only-for-some-actions-tp22611467p22673525.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to