Well, that worked...
So why does having the taglib files cause it to screw up?

Daniel.

-----Original Message-----
From: Kris Schneider [mailto:[EMAIL PROTECTED]
Sent: 17 May 2004 14:55
To: Struts Users Mailing List
Subject: Re: JSTL 1.1 EL not working :(


Remove the TLD files from WEB-INF, remove the <taglib> elements from
web.xml,
make sure you're using a JSP 2.0 container (like Tomcat 5), and make sure
you're using a Servlet 2.4 web.xml.

Quoting Daniel Perry <[EMAIL PROTECTED]>:

> 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.

--
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
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]

Reply via email to