is there a way to implement browsing file system directory in facelets
i don’t want the user to type the directory
i search it in primefaces showcases but i didn’t find it .
Any help will be appreciated
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For security reasons you cannot browse the filesystem with HTML/JavaScript. If you want to do such a thing you could use a Java applet or a Flash element, but I found such things repulsive.
The reason you want to do this is unclear to me. If it’s for downloading a file and selecting a destination, you should be using a regular file download.
You might want to do more research. I found a couple questions on SO that are comparable: