struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Musachy Barroso <mbarr...@wfscorp.com>
Subject Re: Strtus2 Result type support for XML MIME type
Date Wed, 27 Dec 2006 20:40:51 GMT
There is a jira ticket to add an XML result type, and a JSON result type.

http://issues.apache.org/struts/browse/WW-1330.

It hasn't been fixed yet, but there is some code attached to it that you 
can use meanwhile.

regards
musachy

carty mc wrote:
> Does anyone of struts2 built in result types support text/xml MIME
> type. I want to generate dynamic xml in my action class and write to
> the servelt output stream.
>
> All the result types I have seen so far in struts2 require a location
> property as part of configuration. is there a built in result type
> that supports this?  I am generating this xml content in memory and
> dont want to write to the disk.
>
> NOTE: (Currently I have written custom result type to handle this
> scenario, since all of the existing result types are asking for
> location of the file.)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


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


Mime
View raw message