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

2002-10-01 Thread Jeff Pennal

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

[EMAIL PROTECTED] 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:[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]>




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

2002-09-30 Thread Ady Das-O'Toole

You can also set the content type in your response object like so:

response.setContentType("text\html");
response.setContentType("text\pdf");
etc...

-Original Message-
From: Joe Latty [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 30, 2002 10:34 AM
To: Struts Users Mailing List
Subject: RE: Serving XML and dynamically generated Flash (jgenerator)
content with struts



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]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




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

2002-09-30 Thread Joe Latty


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]>




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

2002-09-30 Thread Stefan.Landro

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]>