You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jeff Pennal <je...@openroad.ca> on 2002/10/01 15:16:19 UTC

Re: Serving XML and dynamically generated Flash (jgenerator) content with struts

Yes, stxx takes XML and passes it through handlers. One of these 
handlers is for XSLT, another is for PDF. You can write your own 
handlers for custom tasks. You could try it for what you are trying to 
do, it should work.

Check out the latest version of stxx, residing on sourceforge right now 
at http://sourceforge.net/projects/stxx/.

Jeff

Stefan.Landro@swisscom.com wrote:
> Thanks for the tip!
> 
> However, I do not want to transform the xml ... I want a flash-movie to
> interpret it and transform it into flash-objects (I really just want to
> return content of type text/xml to the user. Is there something like a
> xslt no-op?
> 
> Now, let's say stxx solves my problem related to XML. How do I return
> other mime-types like pdf for instance?
> 
> Cheers,
> 
> Stef.
> 
> 
> -----Original Message-----
> From: Jeff Pennal [mailto:jeffp@openroad.ca] 
> Sent: Montag, 30. September 2002 14:09
> To: Struts Users Mailing List
> Subject: Re: Serving XML and dynamically generated Flash (jgenerator)
> content with struts
> 
> Hi Stefan,
> 
> You may want to check out stxx. From your email it seems like it should 
> do everything you need it to do.
> 
> stxx - http://www.openroad.ca/opencode/stxx
> 
> Stefan.Landro@swisscom.com wrote:
> 
>>Hi, there!
>>
>>I'm kinda new to struts and have a few questions regarding it:
>>
>>1. is it possible to serve xml using struts? We're currently using 
>>'stand-alone servlets to generate xml that'sread by flash movies, but 
>>we're seeing a need for things like internationalisation and
> 
> application 
> 
>>flow.
>>
>>Is there a way of avoiding the jsp's in the view layer and use
> 
> servlets 
> 
>>(which are way better suited for xml than jsp's)
>>
>>I've checked the archives, but it's real hard to find any good
> 
> answers...
> 
>>2. We're also using jgenerator to generate dynamic flash - only those
> 
> of 
> 
>>you knowing jgenerator should answer to this question - Where in the 
>>mvc-model / struts architecture would it make sense to generate flash 
>>content?
>>
>>Any advice would be appreciated,
>>
>>Cheers,
>>
>>Stef.
>>
>>
>>
> 
> ------------------------------------------------------------------------
> 
>>--
>>To unsubscribe, e-mail:
> 
> <ma...@jakarta.apache.org>
> 
>>For additional commands, e-mail:
> 
> <ma...@jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>