Wednesday, February 9, 2011

JSP : According to TLD or attribute directive in tag file, attribute value does not accept any expressions.

While using JSTL in one of my project i was getting an error message According to TLD or attribute directive in tag file, attribute value does not accept any expressions.


Initially i thought there might be some issue with Eclipse or jar file jstl.jar but i was unable to solve it. Latter on a web i found the below code.


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

 It really worked. So i wanted to share with u. thanks to whoever discovered it.