Hi,
how would you, using
struts, create a form with validation (using the validator framework) and skip this validation when the form would be accessed without being submitted.
So let's say I have a form with 1 required field under /MyForm.do:
1. call /MyForm.do
2. empty form shows
3. user enters the data & submits the form to /MyForm.do
4. validator framework checks whether the required field has a value
5. if yes, action is executed
How would you do this in struts?