Geeta,
 
Thanks for the reply!
 
I got it working just now. It was the add.jsp. I did not have the scope="request" in 
the form tag. I thought that was the default. Now it's working, but I am still vague 
on why it didn't work in the first place.
 
- Kevich


Geeta Ramani <[EMAIL PROTECTED]> wrote:
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]

                
---------------------------------
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs 

Reply via email to