Mike: If I read it correctly, Bruno's point is that what you're describing is *not* converting a JSP page to PDF. A JSP is a template with commands to the servlet engine, bits of HTML, etc. Why would anyone turn a JSP file into a PDF?
As I read it, the OP's question (if not taken literally) asks whether you could use iText to write a servlet (or servlet engine) that would generate PDFs using a JSP syntax. The answer is sure. But why would you not use a reporting library, of which there are dozens? That way you get a report as your PDF document rather than the equivalent of a screen capture of an HTML page. And you have to write very little of your own code. Hope that helps. ---mr. bean Mike Marchywka-2 wrote: > > > > ---------------------------------------- >> Date: Mon, 8 Jun 2009 15:46:07 +0200 >> From: >> To: itext-questions@lists.sourceforge.net >> Subject: Re: [iText-questions] Regarding JSP to PDF Conversion >> >> shrikant deshmukh wrote: >>> Hi Everyone, > [...] >> >>> The page which we want to convert is retrieve data from database like >>> images and texts. So I want to convert the whole dynamic JSP page into >>> PDF format. >> >> *sigh* You don't want to "convert a JSP page to PDF format". >> If you do, your architecture is bad, very bad. Please reconsider! > > This is a recurring issue with PDF users but if you are going to defend > PDF as a general "information" publishing format, then why not > convert arbitrary rendered material into PDF? Just find some way to > capture > the rendered JSP pixels and store in PDF as a series of TIFF's? > Maybe JSP has some proprietary rendering or he just wants one consistent > piece of graphics generating code? > Obviously this is a bit cumbersome and simply serves to > obscure the source information, but people do it all the time > with PDF. So, I'm just suggesting that there could be as > good a reason to do this as use PDF for any other purpose for which > it is commonly used. > > >> >>> Does it happens in iText. Is there any facility available in >>> iText. If it is available please reply me. >> >> > > > _________________________________________________________________ > Insert movie times and more without leaving HotmailĀ®. > http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009 > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Buy the iText book: http://www.1t3xt.com/docs/book.php > Check the site with examples before you ask questions: > http://www.1t3xt.info/examples/ > You can also search the keywords list: > http://1t3xt.info/tutorials/keywords/ > > -- View this message in context: http://www.nabble.com/Regarding-JSP-to-PDF-Conversion-tp23924181p23955453.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/