I have several directories of static images and swf files. I want to build a JSP that reads the files, by file type, and renders the images/swf's on the output page. I'd also like to sort by date or file name. Make sense?
I can do this in Perl pretty easily like this:
opendir(IMD, $dirtoget) || die("Cannot open directory");
Then dump into an array:
From there I could output however I wanted. Not sure how to do this in JSP. Help please... :)