aspose file tools*
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
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "c:set, problem with tlds." Watch "c:set, problem with tlds." New topic
Author

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
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)


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: http://aspose.com/file-tools
 
subject: c:set, problem with tlds.