File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding JSON package for Tomcat

 
Toulouse Laurent
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using linux to run tomcat and want to utilize org.JSON package. I downloaded the source code from http://www.json.org/java/index.html. I am unsure how to configure this external package so I can use it in my JSP files. I can't add it to my JAVA/etc bin because I do not have admin permission. Any simple solutions? Thanks!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64205
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Toulouse", please check your private messages for an important administrative matter.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Once you compile the classes, put the class files (with their proper directory structure) in the WEB-INF/classes directory of your application.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are two ways to add it to your web application: as Ben says, add the *.class files to WEB-INF/classes (together with your own class files), or if it's in a JAR file, add the JAR file to WEB-INF/lib of your web application.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic