> -Original Message-
> From: Luke Shannon [mailto:[EMAIL PROTECTED]
>
Hi,
> My new issue is how to render the PDF with a string input containing the
> contents of the FO file.
>From java.lang.String to java.io.StringReader to java.io.Reader to
org.xml.sax.InputSource?
HTH!
Greetz,
And
> -Original Message-
> From: Luke Shannon [mailto:[EMAIL PROTECTED]
>
Hi,
I see you've already discovered it yourself, but here's a bit more info on
why I think it went wrong...
> Below is my code.
>
> When I run it in IE it get a Pop up message telling me the "File does not
> begin with
Hi;
Thanks for the response. I fixed the problem. Had the OutputStream still
opened. I responded to my previous question myself with the new functioning
code.
I guess the forum (or my mail server) is slow.
My new issue is how to render the PDF with a string input containing the
contents of the F
Responding to myself.
I have found the problem, this code below works. I am still interested if
anyone knows better way to do this.
Thanks,
Luke
/*
* Test class to get this FOP stuff working
*/
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import org.apache.fop.apps
Luke Shannon wrote:
When I run it in IE
Ouch! :-)
it get a Pop up message telling me the "File does not
begin with '%PDF-'". This is weird to me because I am not trying to send it
back through the response object, I don't know why the browser is even
looking at it.
Does the URL which invokes the se
Hi All;
Trying to get a FOP demo off the ground. The idea is an FO document comes in
from memory and is rendered to a PDF on the hard disk of the server.
Just to get things going I am working with a FO file on the hard drive as
well. I will tackle the contents of this file submitted in memory nex
The error message gives you a good hint what you need to do. It says:
"no base URL is specified". So you need to do that and [1] tells you how,
although it may not be obvious that you can use a URL there, too.
Configuration.put("baseDir", "http://localhost:8080/Firebird/";);
...should solve your
Hi guys,
I am facing problems while getting the images to display in PDF. Here are
the details, i am using jboss_3.2.5 and the dir structure is as follow...
rootfolder/jsp/images/tick.gif
rootfolder/WEB-INF/trial.xml
rootfolder/WEB-INF/trial.xsl (xsl-fo file)
I creat the PDF using transformer fac