aspose file tools*
The moose likes JSP and the fly likes Get collection size Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Get collection size" Watch "Get collection size" New topic
Author

Get collection size

Otilia Marcu
Greenhorn

Joined: Jan 19, 2006
Posts: 4
Any ideea about how to get collections size in JSTL?

<cut value="${map.numberOfItems}"/> seems not dooing good work ....


What is the right way?


chamade76
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61662
    
  67

If using JSP 2.0 and JSTL 1,1:

${fn:length(whatever)}


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Get collection size