This is probably really simple, but I'm an ASP programmer, not a JSP programmer, so I need some help.
I need code to search a specified directory and return the name of all the files in that directory.
Now, in ASP, I would use the FileSystemObject to do this, but I suspect JSP is slightly different.
Here's an idea of what I want to do, shown in ASP code:
Set fso = CreateObject("Scripting.FileSystemObject")
Set objFolder = fso.GetFolder(server.MapPath("\myfolder\"))
Set files = objFolder.files
For Each i in files
array(i) = <%=i.name%>