In my web.xml i have been using this code, make sure you have the <taglib> under your <webapp> tag and not accidentally inside another one.
<webapp> <taglib> <taglib-uri>http://java.sun.com/jstl/core</taglib-uri> <taglib-location>/WEB-INF/c.tld</taglib-location> </taglib> </webapp> On the JSP pages i use <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> This should work for you. If not can you show us the jsp code? Are you using a JSP 1.2 container? Tomcat should work if you have the lastest version. Heres a nice guide on how to set up jstl on tomcat. http://www.developer.com/java/ejb/article.php/1447551 On 9/30/05, Graham Reeds <[EMAIL PROTECTED]> wrote: > > Marco Mistroni wrote: > > hello, > > try this > > <%@ taglib prefix='c' uri='http://java.sun.com/jstl/core' %> > > <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %> > > you won' t need to declare anyting in web.xml and no .tld anymore > > HTH > > marco > > This still does not work as I still get a ServletException when I have > the JSTL code in my JSP file. > > Thanks, Graham. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >