There are probably more ways, too. Depending on your
design, I'd recommend Mark's suggestion. Validation
in the Action makes sense particularly when using a
variant of DispatchAction, wherein there will be many
methods for different submissions, only some of which
require validation, and perhaps
Hi,
this question was asked several times before, I also asked this
questions a week ago. Just have a look at the mailing list archive.
There are two approaches:
1) Two actions: "ViewFormFirstTimeAction" with validate="false" in the
struts-config.xml, and ViewFormAction with validate="true"
2
2:18 PM
To: 'Struts Users Mailing List'
Subject: Dsiplaying forms without validation
Hi,
I have a series of pages which are used to collection information about a
user. basic registration type stuff. My question is: How do I get Struts to
display my page with the form without perf
Hi,
I have a series of pages which are used to collection information about a
user. basic registration type stuff. My question is: How do I get Struts to
display my page with the form without performing validation until the form
is submitted? Do I have to create separate action mappings for each p
4 matches
Mail list logo