Re: [iText-questions] IText doesn't seem to be thread safe?

2006-07-23 Thread Peter Wilkinson
Bang on the money,   I hadn't realised that each servlet was instantiated only once.  Rather than force the server to create multiple instances I removed the class variables and that fixed it.     Regards   Peter Wilkinson System Developer Mantel Solutions Pty Ltd   PO Box 98

Re: [iText-questions] IText doesn't seem to be thread safe?

2006-07-19 Thread Peter Wilkinson
It is declared in the jsp file like   <%!   Document document; %>     Regards   Peter Wilkinson System Developer Mantel Solutions Pty Ltd   PO Box 98, 35 Hamilton Road Moorooka QLD 4105   P: +61 7 3848 0001 F: +61 7 3392 9923 W: www.mantel.com.au   The information contained i

Re: [iText-questions] IText doesn't seem to be thread safe?

2006-07-19 Thread Peter Wilkinson
I don't see how that can be with the code I've given?   The document is created with   document = new Document(PageSize.A4.rotate());     Regards   Peter Wilkinson System Developer Mantel Solutions Pty Ltd   PO Box 98, 35 Hamilton Road Moorooka QLD 4105   P: +61 7 3848 0001 F:

[iText-questions] IText doesn't seem to be thread safe?

2006-07-19 Thread Peter Wilkinson
PdfWriter.PageModeUseOutlines);  // step 3: we open the document document.open();   Regards   Peter Wilkinson System Developer Mantel Solutions Pty Ltd   PO Box 98, 35 Hamilton Road Moorooka QLD 4105   P: +61 7 3848 0001 F: +61 7 3392 9923 W: www.mantel.com.au   The information contained in this

[iText-questions] Pretty Tables

2006-03-14 Thread Peter Wilkinson
tDefaultVerticalAlignment(Cell.ALIGN_MIDDLE); which doesn't seem to do anything so I tried setting it on the actual cell. Cell test = new Cell(new Chunk("Carrier", font)); test.setVerticalAlignment(Cell.ALIGN_MIDDLE); Which also failed. Any Ideas? Regards Peter Wilkinson System Engineer M