jsp how to get more one selected items in the <select> tag
Posted on 2005-04-05
In a form of html, there is a <select> tag, I want user can select more than one items at one time.
<form action ="listFiles.jsp method=post>
<select name=fileNames >
<option value=file1>file 1
<option value=file2>file 2
<option value=file3>file 3
<input type="submit" value="ListFiles" >
Q1. How to implement to allow user choose more than files in the html
Q2. How to retrieve them in the listFiles.jsp
A simple example will be very helpful,
Appreciate your attention.