Tomcat Missing Java Standard Tag Libraries (JSTL) in Debian and Ubuntu

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.

This is mainly because of one reason: JSTL is considered to be part of J2EE – which in this case means that JSTL comes with Glassfish (or by translation, Apache Geronimo).

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.

About these ads

3 Responses to Tomcat Missing Java Standard Tag Libraries (JSTL) in Debian and Ubuntu

  1. Pingback: Tomcat Missing Java Standard Tag Libraries (JSTL) in Debian and Ubuntu | Ubuntu-News - Your one stop for news about Ubuntu

  2. Pingback: Tomcat Missing Java Standard Tag Libraries (JSTL) in Debian and Ubuntu | Debian-News.net - Your one stop for news about Debian

  3. Pingback: Mr.Black ยป ubuntu org.apache.jasper.JasperException: The absolute uri: http: //java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 43 other followers

%d bloggers like this: