• 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

itext HTML to PDF plugin error

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good day everybody,.... Is it ok if I ask something about this problem?...

I am trying to convert HTML page to PDF file format using i-text,... There is a code that I found in the internet that as what they say, can solve my issues...

http://thinktibits.blogspot.com/2011/05/convert-html-to-pdf-with-servlet-itext_25.html
http://thinktibits.blogspot.com/2011/05/convert-html-to-pdf-with-servlet-itext.html

My problem is that there is an error regarding to a function in the servlet... I'm pretty sure that I have the jar files needed for the program to work...

JAR:



Here is my ERROR:



It seems that it doesn't know what function the "setDocumentFromString()" is....


I wanted to ask, is there any plug-ins or any modifications that I left out?...
Please, I really need your help...
This is really important to me>....
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just to make sure you know what you're getting into: iText 5 is licensed under the Affero GPL, which for most purposes requires you to buy a license (unless you distribute the source code to your application). Is that really what you want to do?
 
Ralphey Veloso
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:Just to make sure you know what you're getting into: iText 5 is licensed under the Affero GPL, which for most purposes requires you to buy a license (unless you distribute the source code to your application). Is that really what you want to do?



Actually,.. I just wanted to convert HTML into PDF in my web application.., I am searching for like 24-7 in google to find the answer... They have given me a solution but the only problem is that I am always short of resources... (e.g. jar files)....

Is it ok if I ask a little help on this?.. I'm practically new in manipulating jsp and servlets...

 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is that a "yes" or a "no" in answer to my question? There are legal implications to this. You can't just use any open source software in any way that you see fit; you need to adhere to their respective licenses, or you and your company may find yourselves in troubled water.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic