You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Frans Thamura <fr...@meruvian.org> on 2013/02/20 22:19:35 UTC

angularjs and struts action result

hi all

anyone working with struts2 action result (#name etc) and integrate
with angularjs

F

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


Re: angularjs and struts action result

Posted by Christian Grobmeier <gr...@gmail.com>.
On Thu, Feb 21, 2013 at 8:03 AM, Lukasz Lenart <lu...@apache.org> wrote:
> 2013/2/20 Frans Thamura <fr...@meruvian.org>:
>> anyone working with struts2 action result (#name etc) and integrate
>> with angularjs
>
> AngularJS expects JSON via REST so everything is already supported by Struts2

I did that recently with my own app and it works perfectly. Except,
that a REST style is not required (though its a good idea). You still
can simply use basic Struts 2 and just use the JSON result type.
All the Angular.js examples on my blog were created with a Struts 2 backend:
http://www.grobmeier.de/all-posts-from-this-blog

Cheers


>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>



--
http://www.grobmeier.de
https://www.timeandbill.de

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


Re: angularjs and struts action result

Posted by Lukasz Lenart <lu...@apache.org>.
2013/2/20 Frans Thamura <fr...@meruvian.org>:
> anyone working with struts2 action result (#name etc) and integrate
> with angularjs

AngularJS expects JSON via REST so everything is already supported by Struts2


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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