title: Add JSON class folder and import in Java and Eclipse as IDE
body: <p>I'm new to Java and have searched for quite a time now on the internet to a solution to my problem. I'm trying to add the JSON classes folder to my web app. The folder for JSON classes can be retrieved from this link: <a href="http://www.json.org/java/" rel="nofollow">http://www.json.org/java/</a>. What I did is copied the folder to my WEB-INF/lib folder and added that folder to my classpath by rightclick on Libraries -> Build Path -> Configure Build Path -> Add Class Folder. Ok so far so good! Btw, is this the right procedure for adding class folders? But what shall I type in a new Java class?</p>
  
  <p>I have tried <code>import JSONArray</code>, but it is not working. Could you please give the right syntax for importing the JSON classes?</p>