Hi,
I have witten a Servlet that take two file in input (file.xml and file.xsl)
my code is:
Driver driver = new Driver();
driver.setRenderer(Driver.RENDER_PDF);
File xmlFile = new File(c:\\xml_to_pdf.xml);
File xslFile = new
Hi at all,
I have two important question:
1) I have a jsp page that call a java function of my external class.
I pass at this object dynamic xml and stylesheet xsl
and then I have to pass some parameter at my stylesheet
that are stored in HttpSession object.
If I use XSLTransform from fop there
Hi,
I have a question:
Is possible to generate and VISUALIZE
with a common Browser with Acrobat Reader plug-in
a PDF using a JSP that take in input a Dynamic XML?
Tanks!
D.Semprini
-
To unsubscribe, e-mail: [EMAIL
Hi at All,
I have encountered the same problem of
Carmelo, I have a JSP Page that generate
dinamically PDF file getting input XML Dynamic and urlXSL!
My jsp generate correctly with FOP 0.20.1 a PDF file
but when I'm trying to open it M.IE visualize me
(the pdf) like a object ActiveX on left
first the transformation
and then the driver
Bye
D.Semprini
Semprini Davide wrote:
[EMAIL PROTECTED]"> Hi,
I have had the same problem
Nobody give me a response!
This code in FOP Home page don't work (for me!) !
Driver driver = new Driver(); driver.set
stem
and then used the driver to convert it to PDF...how is performance on that?
Instead of writing the file out to the file system did you try converting
into some sorta stream and use the driver??
thanks for your help
Amit
Semprini Davide wrote:
Hi,
I have had the same problem!!
Hi,
PDF file is a binary file!!!
Use this code it's work:
byte[] content = outPDF.toByteArray();
response.setContentLength(content.length);
response.getOutputStream().write(content);
response.getOutputStream().flush();
D.Semprini
Carmelo Montanez wrote:
02be01c1452d$7953e270$[EMAIL
IL PROTECTED]">
Carmelo
- Original Message -
From:
Semprini Davide
To:
[EMAIL PROTECTED]
Sent: Tuesday, September 25, 2001 3:51AM
Subject: Re: Anything wrong with thiscode
H