cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ludovic de Beaurepaire" <ludovic.debeaurepa...@axonie.com>
Subject Re: Saving (or not) transformed output in a local file
Date Wed, 30 Oct 2002 09:32:12 GMT
Sorry, my question was not very clear.

My application is localized on an application server, and cocoon on another
server. The application generate XML data, and send it to cocoon specifying
in the Http request the stylesheet, and if the result of the transformation
(pdf document) has to be returned or saved on the server. In this case it is
accessed later as a file.
I have already developped an xsp generator modifying XML data.
Beginner with the concept of pipeline, it seems to
generate/transform/serialize from the Http request to the Http response, and
i would like, in certain case, the result of transformation in a file.
I don't know if i can perform it using cocoon or coding sitemap components,
or if i have to develop a new Cocoon servlet, or another solution.

Thanks in advance,

ludovic


----- Original Message -----
From: "Antonio Gallardo Rivera" <agallardo@agsoftware.dnsalias.com>
To: <cocoon-users@xml.apache.org>
Sent: Tuesday, October 29, 2002 7:35 PM
Subject: Re: Saving (or not) transformed output in a local file


It depends. I am using the PDF serializer to create some reports from data
in
a database. I am making it "on the fly". Because is the better way to always
have the lastest data into the PDF. By the way it is very fast.

But maybe if you have a big static document, you can create it once and then
let the file reader to take care of that.

Antonio Gallardo


El Martes, 29 de Octubre de 2002 11:12, Ludovic de Beaurepaire escribió:
> Hello,
>
> I am using Cocoon only to generate PDF documents, but I have to send them
> in the HttpResponse or to save them in a file localized in the server. I
am
> looking for the best way to make it :
> - Overriding the CocoonServlet using a FileSavingEnvironment ?
> - In a stylesheet ? logicsheet ?
>
> Thanks for your answers,
>
> Ludovic
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>





---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message