• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

JSP to PDF file  RSS feed

 
Ranch Hand
Posts: 68
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello.

I'm trying to develop new functionality to generate a PDF from a JSP page to send it as attachment to users.

I was able to merge a velocity template and merge into String then send it as an Html attachment but not as an PDF
Am I supposed to pass the JSP file Name or the mapping of this page?

so, I'm wondering what's the best  way to develop the functionality to generate a PDF?  flying saucer and/or iText?

Here what I've done to generate the PDF..




Am I supposed to pass the JSP file Name or the mapping of this page?

so, I'm wondering what's the best to develop the functionality to generate a PDF?


Does anyone knows how to convert a jsp or html file to pdf format using Java? Something else than flying saucer and/or iText?
Or maybe a good tutorial to understand more on how the implementation og using flying saucer and/or iText.

Thanks in advance




 
Samar Land
Ranch Hand
Posts: 68
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
It will give me the powers of the gods. Not bad for a tiny ad:
global solutions you can do in your home or backyard
https://coderanch.com/t/708587/global-solutions-home-backyard
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!