2012/2/9 developer researcher <[email protected]>:
> 1. both normal action and restful action in the same web application.

Define struts.rest.namespace as mentioned in the docs

> 2. The URL structure for resources must be:
> - /list/ ==> show a list of resoruces in json format
> - /list/{id} ==> show the resource identified by id

/list/ => implement ListAction.index
/list/{id} => implement ListAction.show


Regards
-- 
Łukasz

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to