Tomcat Missing Java Standard Tag Libraries (JSTL) in Debian and Ubuntu
23 June 2010 3 Comments
If you load Apache Tomcat onto your Ubuntu system, you’ll find that JSTL is missing. Trying the provided JSTL examples will thus result in failure, as will any normal operations that require the standard tag libraries.
Originally, JSTL was a “built-in” feature of the Glassfish packages in Debian and Ubuntu; however, because of the desirability of having JSTL in Tomcat and other containers, JSTL is now available separately.
The package is glassfish-javaee and contains three JAR files which contain JSTL. The best thing to do is to run this command (whether Debian or Ubuntu):
apt-get install glassfish-javaee
This will install the packages and all dependencies – though if you’ve Tomcat already, there probably won’t be any dependencies required.
I experienced this with Tomcat 6, but Tomcat 5 is probably affected as well.