Ver Mensaje Individual
  #1 (permalink)  
Antiguo 02/02/2015, 14:53
andresblend7
 
Fecha de Ingreso: febrero-2015
Mensajes: 7
Antigüedad: 9 años, 3 meses
Puntos: 0
No pasa Variable en jsp

Hola, tengo un jsp donde caargo un archivo, y otro donde lo subo al servidor, si me sube el archivo pero tengo un campo en el formulario con el id del usuario y no me llega al otro jsp :/

Código:
<form action="uploadFile.jsp" method="POST" enctype="multipart/form-data"> 
<input type="file" name="file"> 
<br/> 
<input type="text" name="id" value="155"><br>
<input type="submit" value="Subir archivo" >

</form>
y en el otro naturalmente tengo
Código:
String id= request.getParameter("id");
Ayuda porfa :);
Saludos