File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Open Source Projects and the fly likes itext HTML to PDF plugin error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "itext HTML to PDF plugin error" Watch "itext HTML to PDF plugin error" New topic
Author

itext HTML to PDF plugin error

Ralphey Veloso
Greenhorn

Joined: Apr 10, 2013
Posts: 2
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>....


** Everything is possible if you put your heart to it... **
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42280
    
  64
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?


Ping & DNS - my free Android networking tools app
Ralphey Veloso
Greenhorn

Joined: Apr 10, 2013
Posts: 2
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
Marshal

Joined: Mar 22, 2005
Posts: 42280
    
  64
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: itext HTML to PDF plugin error