• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSP to PDF file

 
Ranch Hand
Posts: 68
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
 
reply
    Bookmark Topic Watch Topic
  • New Topic