wood burning stoves 2.0*
The moose likes Spring and the fly likes AbstractPdfView in Sring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "AbstractPdfView in Sring" Watch "AbstractPdfView in Sring" New topic
Author

AbstractPdfView in Sring

Kunal Lakhani
Ranch Hand

Joined: Jun 05, 2010
Posts: 622
I am working on a spring project. I have a requirement that if user click on a link in html page, the html page gets converted into a pdf document. How can i do it? Will AbstractPdfView class help?


kunal
Piyush Mangal
Ranch Hand

Joined: Jan 22, 2007
Posts: 196
Yes you can use AbstractPdfView class. This http://www.mkyong.com/spring-mvc/spring-mvc-export-data-to-pdf-file-via-abstractpdfview/ might help.
Kunal Lakhani
Ranch Hand

Joined: Jun 05, 2010
Posts: 622
I need to convert a html page into pdf document
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Sounds like the same question you asked in http://www.coderanch.com/t/572313/BEA-Weblogic/servlet-convert-html-page-pdf, although I fail to understand what WebLogic has to do with it. It's not clear what "Formulae.html(mathematics)" is, or where the HTML is coming from.
Kunal Lakhani
Ranch Hand

Joined: Jun 05, 2010
Posts: 622
Formulae.html is a simple html file, created by me. It just displays the formula.
Lucky J Verma
Ranch Hand

Joined: Apr 11, 2007
Posts: 278
Hi Kunal


Its very easy in Spring. I think i read this post late but you are still not able to get it ,let me know. I have done similar in my application.
Kunal Lakhani
Ranch Hand

Joined: Jun 05, 2010
Posts: 622
What was your requirement Lucky?? My requirement is html to pdf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: AbstractPdfView in Sring
 
Similar Threads
Jsp to HTML
How to persist form data across different pages
include file in jsp
how to use different view resolvers in spring
generate pdf