Originally posted by Scott Updike:
The fields were populated using the usual <html:text...value="${beanname.property}"> tags.
This "usual" method is not the correct way to use the <htm:text> tag. The correct way to use the tag is:
<html:form action="/myAction" />
<html:text property="myProperty" />
Where myProperty is a property of the ActionForm bean that is assigned to the Action called by the <html:form> tag in this JSP. (<action name="myForm" path="/myAction" /> The value is populated automatically, and there is no need to specify a "value" attribute in the tag. The value attribute is to be used only when you need to override what's in the ActionForm bean.
If you do this, the values will still be populated even if the page is redisplayed because of validation errors.