Is it possible to use Struts2 file upload tag to display content of a shared drive directory:
posted 5 years ago
Hello every one,
I want to add a feature to my application that allows a user to look at a list of files which will be located on shared network drive. My application uses struts2, so I am looking into using the <s:file /> tag to do this.
All I want is, when the user clicks the browse button, the file chooser window should open up and list all the files that are located on a given shared drive path.
The problem I have is to be able to configure the tag so that the file system location the window should open up from will be set to my shared drive path, instead of being a path on the local file system as all file uploaders work...
Any help on this would be appreciated. I am not sure if this tag can accomplish this.