--- Jeromy Evans <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to