I have a tiles layout page with a form on it. The action of the form is dynamic because the page can be entered from multiple locations and so the form action changes based on those locations. Except the fact that the fields on the form are the same and so are the validation rules. It appears that Struts validation.xml requires form definitions based on the url patterns in struts-config.xml. Is this true? Can you define global field or form definitions that can be used in multiple field/form definitions? Because I have one form that is accessed and sent to different actions, I have to have a duplicate definition for validation for each possible action path.
Thanks!
Thanks!