It's not a secret anymore!
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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: 63349

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

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