struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: AjaxTag 1.3 support?
Date Sat, 02 Feb 2008 00:52:19 GMT
--- Jeromy Evans <jeromy.evans@blueskyminds.com.au> wrote:
> For Ajax/JS libraries that use JSON, the JSON Plugin (JSON ResultType) 
> [2] will serialize your action into JSON automatically
> The XSL ResultType will serialize your action into XML if you provide a 
> stylesheet [3]
> The REST plugin includes code to serialize your action into XML using 
> Xstream. [4]

I'll add that the FreeMarker result [1] is pretty flexible when one needs
oddball formats along with a content type (settable in the result
configuration, as opposed to, say, setting it with a JSP scriptlet).

Dave

[1] http://struts.apache.org/2.x/docs/freemarker-result.html



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


Mime
View raw message