Ver Mensaje Individual
  #4 (permalink)  
Antiguo 21/04/2008, 00:33
Avatar de javimartinez
javimartinez
 
Fecha de Ingreso: marzo-2003
Ubicación: Leganés (Madrid)
Mensajes: 284
Antigüedad: 22 años
Puntos: 1
Re: Valor del Formulario Struts

Guardando el formulario en el request podría valerte, no???

Por ej, en la acción
Código:
...
MiObjeto formulario = (MiObjeto) form;
request.setAttribute("MiForm",formulario)
...

y después, puedes coger este objeto en el jsp y cargarlo sin ningún problema

Código:
<html:form action="/miAccion.do" styleId="MiForm">
...
<html:text property="att1" ...
__________________
Javi Martínez

Web: Acertijolandia Blog: A Entretenerse