in your action class:
PrintWriter out = new PrintWriter (response.getOutputStream()); out.println(yourXmlString); return null; Joe -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 1 October 2002 12:03 AM To: [EMAIL PROTECTED] Subject: RE: Serving XML and dynamically generated Flash (jgenerator) content with struts 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:[EMAIL PROTECTED]] 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 [EMAIL PROTECTED] 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: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>