On Wednesday 10 June 2009 08:34:41 pm Bhaarat Sharma wrote:
> Hello,
> Is there some built in functionality in struts2 that would let me return
> xml data from my action class?  If not, I will have to create the xml data
> myself (which I dont mind).  But what will the result-type be for this
> action in my struts.xml?

There is a capable xsl result type built in. It's also quite easy to stream 
xml using the xstream library. Whichever suites your needs.

-Wes

-- 

Wes Wannemacher
Author - Struts 2 In Practice 
Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
http://www.manning.com/wannemacher


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

Reply via email to