• Post Reply Bookmark Topic Watch Topic
  • New Topic

AbstractPdfView in Sring  RSS feed

 
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?
 
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
 
Saloon Keeper
Posts: 4162
100
  • 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.
 
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
 
The overall mission is to change the world. When you've done that, then you can read this tiny ad:
ScroogeXHTML 7.1 - RTF to HTML5 / XHTML converter
https://coderanch.com/t/690611/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!