Ver Mensaje Individual
  #3 (permalink)  
Antiguo 24/11/2004, 09:14
Machine80
 
Fecha de Ingreso: enero-2004
Mensajes: 144
Antigüedad: 20 años, 2 meses
Puntos: 0
Cita:
Iniciado por monoswim
<form name="form1" enctype="multipart/form-data" method="post" action="">
<input type="file" name="file">
</form>
en el ejemplo que me das solo tiene file, se puede tener
<form name="form1" enctype="multipart/form-data" method="post" action="">
<input type="file" name="imagen">
<input type="text" name="solicitud">
</form>

o sea files y text en el mismo formulario??????


en el servlet de respuesta (que si funciona)

hago

if (solicitud == null) {
solicitud = "";
}
String imagen = request.getParameter("imagen");
if (imagen == null) {
imagen = "";
}

y no saca nada. Será problema del servlet?