This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem with JSTL

 
Soni Prasad
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this use of c ut is wrong?



I an getting this exception:

org.apache.jasper.JasperException: /requestJsp.jsp(13,0) According to TLD or attribute directive in tag file, attribute value does not accept any expressions

thanx,
soni
 
Sub swamy
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The standard.jar file contains 2 tlds => c.tld and c-rt.tld. The former doesn't accept run-time values (rtexpr value) for <c ut> while the latter accepts. Copy c-rt.tld to a folder tld under WEB-INF and the same would work.

But then, why the container refers to c.tld instead of c-rt.tld by default still remains unanswered.

Env: Tomcat 5.0.30/Win 2000
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!