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
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: