we here try to remove the struts.xml become all annonation

http://java.net/projects/s2restplugins/pages/Home

@Action(name = "/hello")
@Results({ @Result(name = "success", location = "/WEB-INF/view/hello.jsp") })

@Action(name = "/profile")
public class ProfileAction {
@Action(name = "/list", method = HttpMethod.GET)


i love to review someone that share your code that using the default
rest plugins :) esp implement CRUD

F

On Wed, Oct 10, 2012 at 8:01 PM, S Arvind <arvindw...@gmail.com> wrote:
> Hi All,
>
> Currently a webapplication is designed without automatic configuration. But
> recently planned to implement REST plugin. When read the docs it is
> provided that it will work on autoconfiguration. But is there any way to
> override it.
>
> Such as to use current struts.xml for mappings with new REST urls and its
> formats are specified in it. as like url format which we provide in Spring
> framework and RestEASy (@RequestMapping(value="/entity/{id}/delete.htm",
> method = RequestMethod.GET))
>
> Arvind S
>
> "Many of lifes failure are people who did not realize how close they were
> to success when they gave up."
> -Thomas Edison

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

Reply via email to