Re: Converting HTML content to PDF

2009-01-28 Thread Wes Wannemacher
On Wednesday 28 January 2009 10:20:54 Dave Newton wrote: > Dhiraj Thakur wrote: > > u can do that on seam framework. > > > > http://docs.jboss.org/seam/1.1.5.GA/reference/en/html/mail.html > > The only reference I see to PDF on that page is the link to the previous > chapter; can you be more specif

Re: Converting HTML content to PDF

2009-01-28 Thread Dave Newton
Dhiraj Thakur wrote: u can do that on seam framework. http://docs.jboss.org/seam/1.1.5.GA/reference/en/html/mail.html The only reference I see to PDF on that page is the link to the previous chapter; can you be more specific? (I mean, we're not talking about using Seam or email, but at least

Re: Converting HTML content to PDF

2009-01-28 Thread Dhiraj Thakur
u can do that on seam framework. http://docs.jboss.org/seam/1.1.5.GA/reference/en/html/mail.html Regards, Dhiraj

Re: Converting HTML content to PDF

2009-01-28 Thread Manos Batsis
To the OP: Just try xhtmlrenderer (i.e. The Flying Saucer Project). I once did a servlet filter that intercepted text/html responses (usually from JSPs) and transformed them to PDF on the fly. Don't seem able to figure out where that code is nowadays though. [1] https://xhtmlrenderer.dev.jav

Re: Converting HTML content to PDF

2009-01-27 Thread Wes Wannemacher
On Tuesday 27 January 2009 23:21:32 ManiKanta G wrote: > > i am trying to load page from url and write in to the pdf. > > can please reviw my code and send the solution. > > if u want any more information send me mail. > > This is a bit interesting situation... I m eager to listen... feel free to >

Re: Converting HTML content to PDF

2009-01-27 Thread ManiKanta G
> > i am trying to load page from url and write in to the pdf. > can please reviw my code and send the solution. > if u want any more information send me mail. > This is a bit interesting situation... I m eager to listen... feel free to share that will us too... though it is off topic I dont mind.

RE: Converting HTML content to PDF

2009-01-26 Thread mvadlamudi
Hi, Thanks for reply. i am trying to load page from url and write in to the pdf. can please reviw my code and send the solution. if u want any more information send me mail. -- View this message in context: http://www.nabble.com/Converting-HTML-content-to-PDF-tp6203248p21679603.html Sent f

Re: Converting HTML content to PDF

2009-01-26 Thread mvadlamudi
Hi how to use Fop in spring framework for html to pdf convertion. is there any jar file available for this? -- View this message in context: http://www.nabble.com/Converting-HTML-content-to-PDF-tp6203248p21679566.html Sent from the Struts - User mailing list archive at Nabble.com. --

Re: Converting HTML content to PDF

2009-01-25 Thread Dave Newton
Martin Gainty wrote: FOP (Formatting Object Processor) is what you're looking for.. http://xmlgraphics.apache.org/fop/ It kinda looks like the OP is using iText: SAXiTextHandler saxHandler = new SAXiTextHandler(doc); Dave -

RE: Converting HTML content to PDF

2009-01-25 Thread Martin Gainty
09 13:34:03 -0500 > From: newton.d...@yahoo.com > To: user@struts.apache.org > Subject: Re: Converting HTML content to PDF > > I'm not sure this is related to Struts. > > Dave > > mvadlamudi wrote: > > i tryed the same in spring framework. > &g

Re: Converting HTML content to PDF

2009-01-25 Thread Dave Newton
I'm not sure this is related to Struts. Dave mvadlamudi wrote: i tryed the same in spring framework. see the below code ,but i got the following error. code: HttpSession session = request.getSession(); URL reconstructedURL = new URL(request.getScheme(),

Re: Converting HTML content to PDF

2009-01-25 Thread mvadlamudi
i tryed the same in spring framework. see the below code ,but i got the following error. code: HttpSession session = request.getSession(); URL reconstructedURL = new URL(request.getScheme(), request.getServerName(),

Re: Converting HTML content to PDF

2006-09-08 Thread Frank W. Zammetti
Do you mean you want to generate the PDF client-side, to get around the no Java requirement of your client? Just want to understand what your looking for before I comment :) Frank Martin Gainty wrote: Frank/David- I'm looking at the same sort of idea where an ajax control is desired which w

Re: Converting HTML content to PDF

2006-09-08 Thread Martin Gainty
Frank/David- I'm looking at the same sort of idea where an ajax control is desired which will either build out a pdf from xml or build out a pdf from text I have this working fine with FOP from a servlet but the client is *java shy* so I'm looking to package it up and hide the 'gory details' in a

Re: Converting HTML content to PDF

2006-09-08 Thread Frank W. Zammetti
It does look cool, but it doesn't look like it would (easily) solve the problem at hand... this is a stand-alone tool (unless I missed the API that you can feed a stream to and get a PDF out)... he could write the HTML to a temp file and shell out to this, then read the file back and output to

RE: Converting HTML content to PDF

2006-09-08 Thread David Friedman
Too bad you don't have $69 USD because http://www.easysw.com/htmldoc looks promising. Too bad iText doesn't have anything like that yet. Not unless you switch to assembling the pages in iText then use the PDF Write or HTML Write off that in the last minute. Regards, David -

Re: Converting HTML content to PDF

2006-09-08 Thread Frank W. Zammetti
to PDF, instead of HTML. With best regards, Anjishnu. -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Thursday, September 07, 2006 11:34 AM To: Struts Users Mailing List Subject: Re: Converting HTML content to PDF Ah, your doing something even less

RE: Converting HTML content to PDF

2006-09-07 Thread Anjishnu Bandyopadhyay
instead of HTML. With best regards, Anjishnu. -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Thursday, September 07, 2006 11:34 AM To: Struts Users Mailing List Subject: Re: Converting HTML content to PDF Ah, your doing something even less typical :)

Re: Converting HTML content to PDF

2006-09-07 Thread Frank W. Zammetti
e- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Thursday, September 07, 2006 11:22 AM To: Struts Users Mailing List Subject: Re: Converting HTML content to PDF Hi, Setting the content type is not sufficient to generate a PDF... are you trying to output a PDF from an

RE: Converting HTML content to PDF

2006-09-07 Thread MADISHETTY, ASHOK [AG-Contractor/8042]
Hi, Read the below link it may help you to convert HTML to PDF: http://www.javaworld.com/javaworld/jw-04-2006/jw-0410-html.html Thanks Ashok -Original Message- From: Anjishnu Bandyopadhyay [mailto:[EMAIL PROTECTED] Sent: Friday, September 08, 2006 11:15 AM To: Struts Users Mailing Li

RE: Converting HTML content to PDF

2006-09-07 Thread Anjishnu Bandyopadhyay
TED] Sent: Thursday, September 07, 2006 11:22 AM To: Struts Users Mailing List Subject: Re: Converting HTML content to PDF Hi, Setting the content type is not sufficient to generate a PDF... are you trying to output a PDF from an existing HTML file, or are you dynamically generating the HTML

Re: Converting HTML content to PDF

2006-09-07 Thread Frank W. Zammetti
Hi, Setting the content type is not sufficient to generate a PDF... are you trying to output a PDF from an existing HTML file, or are you dynamically generating the HTML? You say you aren't using JSP, so I'm thinking your either forwarding to an HTML page, or generating it in your Action. W