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).
Go with
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
More on this topic here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With