Friday, May 18, 2012

Order Files by Date with Java

Since Method listFiles() on File class does not guarantee that the files will be in any order we can do a comparator to do an order, this is an example of a Sort by last modified Date.

Wednesday, May 16, 2012

List Size with EL

Here is how you can get the size of a List using EL
${fn:length(items)}