Ver Mensaje Individual
  #1 (permalink)  
Antiguo 22/09/2011, 11:11
pcmarch
 
Fecha de Ingreso: octubre-2008
Mensajes: 13
Antigüedad: 15 años, 6 meses
Puntos: 0
Parámetros POST a null

buenas tardes,

he realizado una pagina HTML que tiene un formulario que pasa los parámetros a un servlet mediante POST.

Cita:

<form method="post" action="http://localhost:8080/APLICACION/SERVLET">
<label for="male">dato1</label>
<input type="text" name="dato1" id="dato1" />
<br />
<label for="female">dato2</label>
<input type="text" name="dato2" id="dato2"/>

<input type=submit value="Enviar"/>
</form>

el problema que tengo es que en el servlet, cuando intento recuperar los parámetros en el método doPost mediante

Cita:
request.getParameter("nombreNameInputFormulario")
me devuelve NULL.

alguien sabe que puede estar pasando