My web.xml is version 2.4. This was one of the first things i changed to try and fix the problems!
So, why do i need to set the struts taglibs, but not the jstl ones? Where does it find these taglibs otherwise? As i'm now referencing jstl core as: http://java.sun.com/jsp/jstl/core does this mean that the server needs access to the internet (as this will cause problems)? Daniel. -----Original Message----- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: 17 May 2004 14:58 To: Struts Users Mailing List Subject: Re: JSTL 1.1 EL not working :( First, you don't need to set taglibs in your web.xml. Check that your web.xml declares "2.3" servlet api (in DOCTYPE) It should work Nico. > I've tried to use JSTL with my web app, and it's not working! > I downloaded jstl 1.1, and copied jstl.jar, and standard.jar to WEB-INF/lib. > I put the f.tld, fmt.tld, fn.tld in WEB-INF/. > > In my web.xml i've got: > <taglib> > <taglib-uri>/WEB-INF/c.tld</taglib-uri> > <taglib-location>/WEB-INF/c.tld</taglib-location> > </taglib> > > <taglib> > <taglib-uri>/WEB-INF/fn.tld</taglib-uri> > <taglib-location>/WEB-INF/fn.tld</taglib-location> > </taglib> > > <taglib> > <taglib-uri>/WEB-INF/fmt.tld</taglib-uri> > <taglib-location>/WEB-INF/fmt.tld</taglib-location> > </taglib> > > If i try and use c:out, it doesnt work! > > <%@ page contentType="text/html;charset=UTF-8" language="java" %> > <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> > <c:out value="${1+1}"/> > > gives: > ${1+1} > > Any idea what's going on? > It looks like the taglib is working fine, but not using el! > > Any ideas? > > Daniel. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] Our name has changed. Please update your address book to the following format: "[EMAIL PROTECTED]". This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]