Re: Servlet wants to read a file present in the same folder.How can i specify th path

2004-09-18 Thread Jebus
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

Re: problem with XSLTInputHandler(String,String) constructor

2004-09-17 Thread Jebus
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

Re: Naming the PDF file generated.

2004-09-17 Thread Jebus
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

Re: FOP opening only 1 PDF when more than one is rendered?

2004-09-16 Thread Jebus
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

Re: outofmemory problems

2004-09-15 Thread Jebus
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: > > >

Re: outofmemory problems

2004-09-14 Thread Jebus
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

Re: outofmemory problems

2004-09-14 Thread Jebus
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

Re: outofmemory problems

2004-09-14 Thread Jebus
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

Re: outofmemory problems

2004-09-14 Thread Jebus
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

outofmemory problems

2004-09-13 Thread Jebus
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