Re: Submit Success and false

2008-12-02 Thread Dave Newton
--- On Tue, 12/2/08, mthalis wrote: > After entering data to the form, if it success, it will > redirect to the same page. When it comes to that page > the entered data are still the same. > [...] That's because you're not redirecting, you're forwarding. If you want to redirect you need to set th

Re: Submit Success and false

2008-12-02 Thread Kibo
Before return from Action class set dataObject to null. public MyAction{ private DataObject myDataObject; //something code public String execute(){ myDataObject = null; return "success"; } public getMyDataObject(){ return myDataObject; } } mthalis wrote: > > After enter