File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Browse and select folders Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Browse and select folders" Watch "Browse and select folders" New topic

Browse and select folders

ramesh poorella
Ranch Hand

Joined: Jul 19, 2011
Posts: 61

in My jsp i have one Browse button. when i am clock on the browse button i need to come my computers window and i have to select one folder.. how it will be done?

please help
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

It won't. You cannot select a folder using the file input control -- you can select a file.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Browse and select folders
It's not a secret anymore!