tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy K. Mayr R." <sys...@uapar.edu>
Subject checkbox with Tomcat
Date Tue, 28 Aug 2001 20:44:44 GMT
 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



Mime
View raw message