{"id":3930,"date":"2014-03-30T06:25:22","date_gmt":"2014-03-30T06:25:22","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/web-xml-for-jstl-collection-of-common-programming-errors\/"},"modified":"2014-03-30T06:25:22","modified_gmt":"2014-03-30T06:25:22","slug":"web-xml-for-jstl-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/web-xml-for-jstl-collection-of-common-programming-errors\/","title":{"rendered":"web.xml for jstl-Collection of common programming errors"},"content":{"rendered":"<p>This can happen if you either downloaded the ancient JSTL 1.0 which has a different URI, or you placed the JAR&#8217;s in the wrong place (i.e. not in <code>\/WEB-INF\/lib<\/code> or anywhere in webapp&#8217;s runtime classpath).<\/p>\n<p>Ensure that you download the right version and put the JAR(s) in <code>\/WEB-INF\/lib<\/code>. For a webapplication whose <code>web.xml<\/code> is declared as Servlet 2.5, you need to download just JSTL 1.2 as jstl-1.2.jar. For a Servlet 2.4 webapplication, you need to download JSTL 1.1 as jstl.jar and standard.jar.<\/p>\n<p>You don&#8217;t need to extract the JAR&#8217;s. You also don&#8217;t need to modify the <code>web.xml<\/code> as some poor online tutorials suggest. Just drop JAR(s) in runtime classpath, declare the taglib in JSP and that&#8217;s it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This can happen if you either downloaded the ancient JSTL 1.0 which has a different URI, or you placed the JAR&#8217;s in the wrong place (i.e. not in \/WEB-INF\/lib or anywhere in webapp&#8217;s runtime classpath). Ensure that you download the right version and put the JAR(s) in \/WEB-INF\/lib. For a webapplication whose web.xml is declared [&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-3930","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3930","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=3930"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3930\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3930"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3930"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3930"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}