At the moment i have a static drop down list which consists of a number of options and their associated values. However I want the menu to contain links to the entire contents of a specific directory on my server (c:\stylesheets). I cannot simply hard code the drop down list as the client has the option to upload additional files to the same directory. Does anyone have any suggestions on how I would achieve this? I am using JSP, Java and Javascript.
******Code extract*********
<form action="dummy" method="post" name="choiceform">
<p><select name="choice" size="1" onchange="getvalue()">
<option value>CHOOSE A STYLESHEET</option>
<option value=http://www.webdeveloper.com/forum/archive/index.php/"http://localhost/cocoon/csse/xmldb/collegedb/0801">CSSE</option>
<option value="http://localhost/cocoon/arts/xmldb/collegedb/0801">ARTS</option>
</select><input TYPE="button" VALUE="GO!" onClick="jump(this.form)">
<a href="http://localhost/uploadbean/Upload.jsp"><strong>Submit your own
stylesheet</strong></a><br>
</p>
</form>
******Code extract*********
<form action="dummy" method="post" name="choiceform">
<p><select name="choice" size="1" onchange="getvalue()">
<option value>CHOOSE A STYLESHEET</option>
<option value=http://www.webdeveloper.com/forum/archive/index.php/"http://localhost/cocoon/csse/xmldb/collegedb/0801">CSSE</option>
<option value="http://localhost/cocoon/arts/xmldb/collegedb/0801">ARTS</option>
</select><input TYPE="button" VALUE="GO!" onClick="jump(this.form)">
<a href="http://localhost/uploadbean/Upload.jsp"><strong>Submit your own
stylesheet</strong></a><br>
</p>
</form>