Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

c:set, problem with tlds.

 
Ramya Iyer
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try the core_rt tag library.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic