• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

AbstractPdfView in Sring

 
Kunal Lakhani
Ranch Hand
Posts: 622
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Piyush Mangal
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 622
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to convert a html page into pdf document
 
Tim Moores
Bartender
Posts: 2895
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 622
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Formulae.html is a simple html file, created by me. It just displays the formula.
 
Lucky J Verma
Ranch Hand
Posts: 278
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 622
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What was your requirement Lucky?? My requirement is html to pdf
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic