It is indeed an attempt to support RESTful urls. When we wanted to add REST support to our existing struts2 app(using xml config and not the convention plugin), we found that using the Restful2ActionMapper with the PrefixBasedActionMapper which chooses the appropriate ActionMapper based on a namespace, was the most straightforward and less intrusive approach. Existing actions, were not affected at all, and new actions where handled by the restful2 action mapper, in their own namespace. Had we wanted to use the more modern REST plugin, we would have to refactor the app to use the convention plugin. I'm not sure whether that's a straightforward task, but back then we encountered a few issues and gave up. So I think that for existing apps not using the convention plugin, which wish to add REST support, the RestFull2ActionMapper is still a viable solution Antonios
On 8 December 2012 12:38, Lukasz Lenart <lukaszlen...@apache.org> wrote: > 2012/12/5 ChadDavis <chadmichaelda...@gmail.com>: > > What are the org.apache.struts2.dispatcher.mapper.RestufulActionMapper > and > > Restful2ActionMapper for? > > It looks like a first attempt to add REST support to WebWork/Struts 2. > I think they should be removed as current REST plugin is much better. > I'll mark them @Deprecated if no one will complain > > https://issues.apache.org/jira/browse/WW-1475 > > > Regards > -- > Ćukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > >