• 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
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!