I am experiencing a problem which i think is not normal. My FormBean retains the previous value(s) even when i override the reset() in my FormBean. A temporary hack is to set my FormBean properties to null in my Action class which i am not at home with. Any help/clues would be appreciated.
When the form is submitted, Struts first calls the reset() method on the form and then it populates the form using the setters you've provided. It should not be surprising, then, that if you redisplay the same page, the fields will be populated. If the page is being redisplayed because of an error, it is generally desirable to redisplay the data entered by the user. If that's not what you want, just do what you're doing and set the fields to blank or null before redisplaying the page.