Manshu Tripathi,

Manshu Tripathi wrote
>     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";);
> 
> I get a file not found exception http://localhost:80//test/Temp/test1.pdf

Please have a look at your code, you instantiate FileInputStreams and
FileOutputStreams using http URLs. File*Streams require the path of the file
in the local file system, though. Thus please replace the urls by the actual
local file system paths.

Regards,   Michael



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Merging-pdf-from-two-location-tp4657443p4657444.html
Sent from the iText - General mailing list archive at Nabble.com.

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

Reply via email to