Hello all,
I have a web application.
With itext version 1.2 the following code works fine:
Document document;
HttpServletRequest request;
Table table=new Table(1);
URL url=new URL(request.getRequestURL()+"/images/tristNegre.bmp");
Image image= Image.getInstance(url);
Chunk chunk=new Chunk(image,0,0);
Cell cell=new Cell();
cell.addElement(chunk);
t.addCell(cell);
....
document.add(table);
or without table if works fine too
Document document;
HttpServletRequest request;
URL url=new URL(request.getRequestURL()+"/images/tristNegre.bmp");
Image image= Image.getInstance(url);
...
document.add(image);
But with 1.4.7 version this code doesn't show the image.
How have I to modify the code in 1.4.7 version
Sorry for my english and thanks in advance
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/