Sorry, I used wrong subject in last mail....
I have a JSP page with one form and many checkboxs... all with same name
but
diferent value.
For example:
<form method="get" name="formulario" >
<input type="checkbox" name="prueba" value="1">
<input type="checkbox" name="prueba" value="2">
<input type="checkbox" name="prueba" value="3">
<input type="checkbox" name="prueba" value="4">
<input type="checkbox" name="prueba" value="5">
<input type="submit" name="enviar" id="enviar" value="Enviar">
</form>
out.println(request.getParameter("prueba");
When I use Java WebServer, output show every checkbox selected... 2,4,5,
for example.
But when I use Tomcat output only show first checkbox selected... Why ?
What
is wrong ?
Problem is Tomcat or my code?
Thanks
Roy