Hi Logesh, like Alexis said this has nothing to do with iText, but chapter 9, page 289 of iText in Action second edition has the information you are looking for to set the headers of your response.
Regards Jeroen On 03/12/2012 08:21 PM, Alexis Pigeon wrote: > Hi Logesh, > > On 12 March 2012 19:03, Logesh N <[email protected] > <mailto:[email protected]>> wrote: > > i have a byte array...(file from database)... i need to write it > into pdf file in browser using IText in servlets.... pls send me the > snippet..... thanks in advance.. i am a fresher.. i am doing my > first project in my career... .. > > > This has nothing to do with iText : you already have the PDF file in > your database, you only need to serve these bytes in the response of the > servlet. > > Remember, Google is your friend: > < http://lmgtfy.com/?q=how+to+return+a+file+from+a+servlet > > > Cheers, > alexis > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > > > > _______________________________________________ > 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 ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ 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
