This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Hands On Software Engineering with Python and have Brian Allbey on-line!
See this thread for details.
Win a copy of Hands On Software Engineering with Python this week in the Jython/Python forum!
  • 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
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

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
 
You've gotta fight it! Don't give in! Read this tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!