----------------------------------------
> Date: Tue, 9 Jun 2009 21:10:38 -0700
> From: 
> To: itext-questions@lists.sourceforge.net
> Subject: Re: [iText-questions] Re garding JSP to PDF Conversion
>
>
> 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?

OK, presumably he isn't trying to use PDF to document their
JSP source code but I don't think anyone thought that :)

I guess I'm generally agreeing with Bruno but asking the larger question
of why people do a lot of what they do involving PDF. 
Sure, taking your information directly in a one-step process
to generate your view seems like the best approach but this
question comes up in a variety of forms and it often
gets answered without further consideration of alternatives. 
And, sure the question may not have reflected the OP's real interests
here and in other cases. 

If you are dealing with graphical information however, a
JSP output can just as much be your "data source" as can any other
picture.
Maybe he is just documenting the quality of their JSP effort and wants
an automated process to generate a report on the JSP results so management
can look at samples from that. Maybe he needs an automated way to get screen
shots that are flagged as errors or he is generating a sales brochure
highlighting lots of JSP pages they have done? 
Or, maybe he just has a lot of JSP that
needs to serve as the primary way of formatting  a page and wants a pdf
that is consistent with it. 



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

_________________________________________________________________
Lauren found her dream laptop. Find the PC that’s right for you.
http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290
------------------------------------------------------------------------------
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/

Reply via email to