I have on the page listing.jsp a list of users who take them out of a linkedlist
<form name="formsendmessage" action="../mipagina.jsp" method="POST">
<select multiple> <%
LinkedList list = (LinkedList) session.getAttribute("emailusers");
for (int i = 0; i < list.size(); i++) { %>
<option name="listemails[]" value="<%=list.get(i) %>"><%=list.get(i) %></option>
<% } %>
</select>
<input type="submit" name="btnsendmessage" value="Send Answer">
</form>
And on my page.jsp
<% String [] listemails = request.getParameterValues("listemails[]");
for (int i = 0; i < listemails.length; i++) {
out.println(listemails[i]);
} %>
Before when I showed them with <input type="check" name="listemails[]">
it worked perfectly, but not now, what's the problem?