1T3XT BVBA <info <at> 1t3xt.info> writes: > > On 26/01/2013 1:27, mkl wrote: > > Thus please replace the urls by the actual > > local file system paths. > Or use the URL class instead of the File class. > You can get a stream from an URL too. > > ----------------------------------------------------------------------------- - > 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 <at> 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 > > Thank you so much for your help.I could resolve one part .I am now using pdfs.add( new URL ("http://localhost/Test/3840328.pdf").openStream()); pdfs.add(new URL(http://localhost/test/3051003.pdf").openStream()); And it is able to read a file.Now for the destination location how can i give a URL as a destination i.e if I want the merged PDF to be saved at a URL for example at http://localhost/test/TestMerge.pdf Using OutputStream output = new FileOutputStream ( "http://localhost/test/TestMerge.pdf") gives java.io.FileNotFoundException as the URL doesnt exists now.So how do i manage this.Do i have to give actaul physical path for destination folder.
Thanks again ------------------------------------------------------------------------------ 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