wood burning stoves 2.0*
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
Author

JSTL - Collection Size gives error

Hari Maha
Greenhorn

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é
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

How did you declare the fn prefix ?


[My Blog]
All roads lead to JavaRanch
Hari Maha
Greenhorn

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSTL - Collection Size gives error