This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JSP and the fly likes JSTL - Collection Size gives error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » JSP
Bookmark "JSTL - Collection Size gives error" Watch "JSTL - Collection Size gives error" New topic

JSTL - Collection Size gives error

Hari Maha

Joined: Oct 13, 2004
Posts: 11
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é

Joined: Nov 24, 2005
Posts: 14688

How did you declare the fn prefix ?

[My Blog]
All roads lead to JavaRanch
Hari Maha

Joined: Oct 13, 2004
Posts: 11
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
Have you checked out Aspose?
subject: JSTL - Collection Size gives error
jQuery in Action, 3rd edition