out.println("<select name=\"drplistalbum\">"); for(String name : names) { if (new File(webTempPath + '\\' + name).isDirectory()) { out.println("<option>"); out.println(name); out.println("</option>"); } } out.println("</select>");
<select name="drplistalbum"> <option value="1">Option1</option> <option value="2">Option2</option> <option value="3">Option3</option> </select>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)