« JSP 2.0 Expression Language Tutorial | Main | Open Source Java CMS »

March 07, 2006

Getting JSTL EL working on Tomcat 5.0.x

I copied my content into the correct folder but some of my EL expressions weren't working.

This is because I needed namespace declarations in the <web-app/> tag in the web.xml file:

<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">

Tags: Tomcat

Posted by pj at March 7, 2006 01:55 PM