--- 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
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
2 matches
Mail list logo