views:

501

answers:

1

I'm getting the following error when trying to run a jsp. I'm using Tomcat 6.0.18, and I'd like to use the latest version of jstl.

What version of jstl should I use, and which URL goes with which version of jstl?

I'm getting this error

"According to TLD or attribute directive in tag file, attribute key does not accept any expressions"

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

I'll just say I had this working, but I want to switch the jstl jar file that has the tld files in the jar file. (instead of having to deploy them somewhere in the web application and define the references in web.xml).

+5  A: 

Go with

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

More on this topic here

Georgy Bolyuba