Hi , I have two pdf files stored in different location as http://localhost/test/Temp/Test1.pdf and http://localhost/test/Temp/Test2.pdf
I want to combine the two in one single pdf in Java . I looked the itext example online List<InputStream> pdfs = new ArrayList<InputStream>(); pdfs.add(new FileInputStream(new File ("http://localhost:80//test/Temp/test1.pdf"))); pdfs.add(new FileInputStream ("http://localhost:80//test/Temp/test2.pdf")); OutputStream output = new FileOutputStream ("http://localhost:80//test/Temp/testMerge.pdf"); concatPDFs(pdfs, output, true); I get a file not found exception http://localhost:80//test/Temp/test1.pdf How can i solve this .If I type the url in my browser the single pdf opens up . Will itext not work with urls of files ?does it need physical paths? Thanks, Manshu ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php