Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSTL - Collection Size gives error

 
Hari Maha
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To get the size of a collection, i used function tld.



But I am getting the following error:

javax.servlet.ServletException: The class org.apache.taglibs.standard.functions.Functions specified in TLD for the function fn:length cannot be found:
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How did you declare the fn prefix ?
 
Hari Maha
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry , rectified it. I had mistakenly put JSTL 1.0.2 standard and jstl jars which didn't have functions, when replaced with JSTL 1.1, it worked

Thank you
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic