Reputation: 2177
I am using rich:fileUpload to upload files.
When i click the + button to add a file, the default location of the file browser is the last location i visited with the windows file browser.
How can i set the default location that the file browser showld open when clicking on the + button?
Isn't there some thing similar to the HTML: <input type="file" value="DEFAULT PATH" /> ?
Upvotes: 1
Views: 1143
Reputation: 37071
INMO you can't modify the location of the file browser not in rich:fileUpload
and not in any file upload component, unless you build your own flash based or some other custom file upload component that wont use the browser native one, since the server never knows the file structure of the client machine
You can take a look at similar threads on google: default path to open location in file upload
Upvotes: 2