Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/08/2012, 21:14
bgva2005
 
Fecha de Ingreso: octubre-2007
Mensajes: 29
Antigüedad: 16 años, 7 meses
Puntos: 0
jsp y servlets

Buenas noches soy novato en Java y necesito la siguiente ayuda.

Cuando en una página login.jsp tengo un solo botón sumit me es fácil llamar al servlet puesto que esta en la form:

<form action="LeerUsuarios" method="POST" >
<table>
</tr>
<td>
<input type="button" name="subirArchivo" value="Subir">
</td>
</tr>
</table>
</form>

Pero cuando tengo más de un botón, como identifico el servlet que debo llamar??

<form action="LeerUsuarios" method="POST" >
<table>
</tr>
<td>
<input type="button" name="subirArchivo" value="Subir1">
</td>
<td>
<input type="button" name="subirArchivo" value="Subir2">
</td>
</tr>
</table>
</form>

Por favor un ejemplo claro les agradecería mucho y si hay un video mucho mejor.