You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Li <am...@gmail.com> on 2009/03/23 03:29:14 UTC

Struts2 REST

Hey guys,

I am a fan of REST and I am excited that Struts2 started supportting REST
architecture. I have used Struts REST plug-in to create a demo struts rest
application with the help of Struts 2 REST showcase. Interestingly I found
out the "content" under WEB-INF is a required setting, which you have to
name the folder of REST views (eg. jsp pages) as "content" otherwise it wont
work correctly. I haven't got chance to look deep into the source of REST
plug-in. I was wondering if there is an place to configure it? Thanks



-- 
Small win by playing smart
Big win by playing honest

Re: Struts2 REST

Posted by Li <am...@gmail.com>.
thanks maplye ~

Re: Struts2 REST

Posted by maplye <ma...@gmail.com>.
<constant name="struts.convention.result.path" value="/WEB-INF/content/"/>

2009/3/23 Li <am...@gmail.com>:
> Hey guys,
>
> I am a fan of REST and I am excited that Struts2 started supportting REST
> architecture. I have used Struts REST plug-in to create a demo struts rest
> application with the help of Struts 2 REST showcase. Interestingly I found
> out the "content" under WEB-INF is a required setting, which you have to
> name the folder of REST views (eg. jsp pages) as "content" otherwise it wont
> work correctly. I haven't got chance to look deep into the source of REST
> plug-in. I was wondering if there is an place to configure it? Thanks
>
>
>
> --
> Small win by playing smart
> Big win by playing honest
>

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