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
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
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:
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
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