{"id":4106,"date":"2014-03-30T07:43:10","date_gmt":"2014-03-30T07:43:10","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/json-object-in-jsp-collection-of-common-programming-errors\/"},"modified":"2014-03-30T07:43:10","modified_gmt":"2014-03-30T07:43:10","slug":"json-object-in-jsp-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/json-object-in-jsp-collection-of-common-programming-errors\/","title":{"rendered":"json object in JSP-Collection of common programming errors"},"content":{"rendered":"<p>It&#8217;s just telling that the mentioned class is missing in the webapp&#8217;s runtime classpath. You need to download and drop the JAR file holding the classes of <code>net.sf.json<\/code> package in <code>\/WEB-INF\/lib<\/code> folder (don&#8217;t forget to do the same for its dependencies as well, if necessary).<\/p>\n<p><strong>Unrelated<\/strong> to the concrete problem: writing Java code in a JSP file is a poor practice. Reading Roseindia.net tutorials is also a very bad idea as they only shows bad practices.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s just telling that the mentioned class is missing in the webapp&#8217;s runtime classpath. You need to download and drop the JAR file holding the classes of net.sf.json package in \/WEB-INF\/lib folder (don&#8217;t forget to do the same for its dependencies as well, if necessary). Unrelated to the concrete problem: writing Java code in a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4106","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=4106"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4106\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}