creating folder chooser on jsp

Does anyone know how to create directory chooser using js, html, jsp or something like that?