Op 23/12/2011 13:02, Siddhartha Rathi schreef: > Once the Button > is clicked the file gets generated on server and gets saved in folder > "/local/notesdata/appln/Reports/" and then a new window is opened in which > path is given as "http://serverName/appln/Reports/" and file name but the > page shows error can someone tell me what I could have done wrong in this > code. And what is the solution to open the file?
Are you sure that http://serverName points to /local/notesdata? I mean: if you have a file names test.html in /local/notesdata, can you reach it using the URL http://serverName/test.html? If not, then you are putting the file in the wrong directory. If so, then you probably have a permission problem: maybe the web server is not allowed to show files in the /appln/Reports directory. Also: why would you create the PDFs as a file? Do you need to archive them? If not, why not create the PDFs in memory and send them straight to the end user? ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ iText-questions mailing list [email protected] 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
