Kevich: make sure you don't have a "redirect=true" in your add configuration in 
struts-config file. If that looks ok, post the relevant portions of the 
struts-config.xml and someone could maybe spot the problem..

Regards,
Geeta

> -----Original Message-----
> From: Kevich Gan [mailto:[EMAIL PROTECTED]
> Sent: Monday, May 10, 2004 2:33 PM
> To: struts user
> Subject: Please help: Empty form while error
> 
> 
> Hi,
>  
> I have an add form and an edit form. I thought I configured 
> both the same style but my edit works well while my add form 
> comes back empty when an error occurs and 
> findforward("error") forward it back to the add form. Of 
> course I'd like to have user's input displayed. Both 
> editSaveAction and addAction use the same form bean.
>  
> I guess Struts is resetting the form somewhere but I don't 
> know where or how to set it. 
>  
> Could anyone help me? Thanks in advance!
>  
> - Kevich
>  
>  
> 
> 
>               
> ---------------------------------
> Do you Yahoo!?
> Win a $20,000 Career Makeover at Yahoo! HotJobs 
> 

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

Reply via email to