There is a whole bunch of different ways. You could use
ClassLoader.getResource or
ServletContext .getRealPath or pass in the path to the file with a
Servelet init parameter.
On Sat, 18 Sep 2004 13:22:19 +0530, Eldho George <[EMAIL PROTECTED]> wrote:
> Hai all
>
> Thanks to Chris,
> Thanks to al
for the constructors that take strings, the strings are not the
contents of the the file but a systemid (url to a file ). If you have
your xml and xsl in strings your can use a StringReader or a
ByteArrayInputStream
InputSource( new ByteArrayInputStream( xml.getBytes() ) );
- Original Mess
setup a servlet mapping of some like /pdf/*
when you request. the pdf you can go /pdf/mypdf.pdf. in theory this
should work. i am making no guarantees as I haven't tried it.
On Thu, 16 Sep 2004 16:45:47 -0700, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> I am creating files using XML/FOP and t
what you are doing is writing 10 separate documents to the
outputstream. If you need all these documents to show up as one. you
iText to merge them together.
On Wed, 15 Sep 2004 18:02:37 -0700, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> I have a for loop which calls the XSLTHandler and then r
update.
I ending up messing around with my xml, so that I would have smaller
page sequences.
On Tue, 14 Sep 2004 14:25:45 -0400, Jebus <[EMAIL PROTECTED]> wrote:
> On Tue, 14 Sep 2004 19:19:22 +0200, J.Pietschmann <[EMAIL PROTECTED]> wrote:
> > Jebus wrote:
> > >
On Tue, 14 Sep 2004 19:19:22 +0200, J.Pietschmann <[EMAIL PROTECTED]> wrote:
> Jebus wrote:
> > Its all tables. Basically the pdf is a report with the table as a
> > grid. The one problem could be that I set a border for each table cell
> > so that I can have grid
I was checking the pdf I was finally able to generated and the one
page sequence is 80 pages. All tables with
table-omit-header-at-break="false" will this make a difference ?
On Tue, 14 Sep 2004 01:24:12 +0200, J.Pietschmann <[EMAIL PROTECTED]> wrote:
> Try to get rid of tables, or get the unrel
Problem is in the FO to PDF. I was running the standalone fop on
xsl:fo I transformed.
I read your earlier post about a disk based dom solution. I am
interested in learning more about that if you don't mind sharing.
On Mon, 13 Sep 2004 23:46:31 -0400, Derek Schenk <[EMAIL PROTECTED]> wrote:
> Is
Its all tables. Basically the pdf is a report with the table as a
grid. The one problem could be that I set a border for each table cell
so that I can have grid lines. If any nows of a better way I would
like to here. I looked for an equivalent to the html cellspacing but
didn't find one for xsl:f
I have a fo that is about 21mb. If I keep throwing ram at fop I can
get to run and it produces a 700 page pdf (3mb).
This is going to run in servlet environment with multiple users
hitting this page, I don't think I can keep throwing ram it. Now
granted this 700 page pdf is an extreme cause, but I
10 matches
Mail list logo