Quoting Frankie Poon <[EMAIL PROTECTED]>: > i have write a servlet to generate PDF using itext library, > i can running this program in windows+tomcat, but fail to running this > program in Linux(Apache+tomcat)!!
If you code works with windows+tomcat, it should work with linux+tomcat. If it doesn't, you have a configuration error somewhere in your tomcat installation. The code doesn't give us any information about wath could be wrong. The only line that catch the eye, are these: > Image gif = Image.getInstance("1.gif"); > Image gif2 = Image.getInstance("2.gif"); I don't say this isn't correct. It might work, I only ask myself if your tomcat installation knows in which path it should look for these two gifs? br, Bruno ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions