Monday, October 08, 2007

JSTL Taglib Declaration

This post is related to web application development with Spring 1.x, JSTL and Tomcat v5.5.x.
Be sure to have this configuration to be able to use JSTL:

web.xml header (remove space after <):

< ?xml version="1.0" encoding="ISO-8859-1"?>

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


Taglib declaration:

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

No comments: