Re: Struts2 - Html to PDF

2010-07-23 Thread Burton Rhodes
Absolutely look into PD4ML. I've tried several and its the best one I've found and most reliable. On 7/23/10, CRANFORD, CHRIS wrote: > Is it possible to extend the default ServletDispatcherResult to parse > the HTML output and pass the result content to the browser as a PDF > document? Or is the

Re: Struts2 - Html to PDF

2010-07-23 Thread Wes Wannemacher
I'd assume it's possible, but probably not the best choice... I would take a look at doing either a Jasper report or using Apache FOP. The choice will have to do with the nature of the PDF you are trying to generate. Jasper is a reporting platform... Think of Crystal Reports, there is a report desi

Struts2 - Html to PDF

2010-07-23 Thread CRANFORD, CHRIS
Is it possible to extend the default ServletDispatcherResult to parse the HTML output and pass the result content to the browser as a PDF document? Or is there a better approach to doing this? What I want to be able to do is to allow easy creation of PDF documents from HTML content. Presently I

Re: performance issues with enabling rtexprvalue

2010-07-23 Thread Chris Pratt
It wasn't a performance concern, it was a security concern. Since the OGNL and JSP EL were processed by separate processors, it's possible to have one transform user code to the other which is a very simple way of allowing an end user to inject executable code into your system. (*Chris*) On Fri

Re: performance issues with enabling rtexprvalue

2010-07-23 Thread Dale Newfield
On 7/23/10 11:26 AM, Scott Koenig wrote: I was wondering if anyone knew how great the performance optimization gains are in leaving runtime expression values disabled for assorted Struts tags, or where I could find some resources on the topic. It seems incredibly useful to be able to set a variab

performance issues with enabling rtexprvalue

2010-07-23 Thread Scott Koenig
Hi, I was wondering if anyone knew how great the performance optimization gains are in leaving runtime expression values disabled for assorted Struts tags, or where I could find some resources on the topic. It seems incredibly useful to be able to set a variable to a value calculated on the fly.