struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Sherman <>
Subject RE: Populating a Form
Date Sun, 30 Mar 2003 17:10:17 GMT
On 03/30/03 09:59:54 -0700 Sterin, Ilya wrote:

> I still think it's the same, it inherits from ActionForm I believe, so
> reset should still be there.

I think we aren't on the same page.

Given some JSP:

<html:form action="/sender/update" focus="name">
	<html:text property="name" value="${}" />
	<html:submit property="submit" value="Submit" />

The action is setup with 'validate="true"', so that validation occurs 
before the action gets called. My problem is that the value of the text 
field gets overwritten when the form is redrawn if validation fails.



Adam Sherman
Tritus CG Inc.
+1 (613) 797-6819

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message