This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 60

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

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]
It is sorta covered in the JavaRanch Style Guide.
subject: Browse and select folders
Similar Threads
file dialog
Display jpeg file in jsp page
Renamae browse button of inputFile
Want a suggestion regarding upload and save in database using struts 2.0
Multiple File Selector