File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes c:set, problem with tlds. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "c:set, problem with tlds." Watch "c:set, problem with tlds." New topic

c:set, problem with tlds.

Ramya Iyer
Ranch Hand

Joined: Jul 29, 2003
Posts: 66
org.apache.jasper.JasperException: /result1.jsp(32,0) According to TLD or attribute directive in tag file, attribute value does not accept any expressions

I get this problem whenever for any custom action like <c:set> <c:forEach> i set the attributes to either an el expr. or scripting expr.

For eg. <c:set var="test" value='${ID}'/> gives me this error. I checked the tld file in standard.jar, against forEach for attribute items it says rtexprvalue=true, but when I have <c:forEach var="temp" items='${employeeMap}'> I get the same error. Pls help.
Joseph Clark
Ranch Hand

Joined: Sep 10, 2005
Posts: 48
Try the core_rt tag library.
I agree. Here's the link:
subject: c:set, problem with tlds.
It's not a secret anymore!