Re: Preserve datas in form

2008-03-06 Thread Juanjo Cuadrado
Hi,

I have a form (... ) and a ActionForm. In the method validate I have a
errors.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage("errors.required",
"Name"))... and in the struts-config I have declared a action element wiht
scope="session" I think that all is OK, but don't work..

When the jsp is show again, the fields are void, wihtout any data (I
have introduced data before do submit)...

Thanks,

2008/3/6, Lukasz Lenart <[EMAIL PROTECTED]>:
>
> Hi,
>
> How do you forward to jsp, simple forward or maybe redirect? Could you
> give some example?
>
>
> Regards
>
> --
> Lukasz
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: Preserve datas in form

2008-03-06 Thread Lukasz Lenart
Hi,

How do you forward to jsp, simple forward or maybe redirect? Could you
give some example?


Regards
--
Lukasz

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Preserve datas in form

2008-03-06 Thread Juanjo Cuadrado
Hi,

How I can preserve the data in the form when I do submit the form and
ActionForm finds a error?

When it return to jsp, the form's field are voids.

Thanks