Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

itext HTML to PDF plugin error

 
Ralphey Veloso
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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>....
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • 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
  • 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: 42969
73
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic