>> I have two forms that I submit both do validation, one keeps the form
>> entries on errors one does not.
>
> What do the <action> mappings in struts-config.xml look like?
> I'm guessing that one has session scope, and the other, request scope.
No they are both session. Could the differenct be that one is using a bean
to populate the fields, the other is not? but even so wouldn't the fields be
popluated on the finding of the error?
Thanks
Wendy S - 07 May 2005 05:35 GMT
> "Scott Phelps" <dontbother@hotmail.com> wrote:
>
> No they are both session. Could the differenct be that one is using a bean
> to populate the fields, the other is not? but even so wouldn't the fields
> be popluated on the finding of the error?
They're both using a bean to populate the fields... one is using the form
bean that [I assume] you configured in struts-config.xml, and the other is
using the one that you put in the <html:form> tag.
Without seeing the <action> mappings from struts-config, it's a waste of
time for me to keep guessing. Also, what URLs are you visiting to view the
forms? Are you doing anything interesting in the Action code?

Signature
Wendy