Directory listing Web App
3. HTML to display the links Loop through the array list, based on Folder flag display different icon for files and folders. Also display the other folder/file attributes. Toggling the colour of the rows helps user if number of entries are too many. Colour and design the page the way you want it to look. As an add on you can specify error pages for error 404 & 500. Screen-shot of sample implementation is shown below
War file of this project with source code is available for download. This war file have incremental implementation of dynamic download also.