In Struts 1, we put the validators in a separate file that's tied to the mappings through the formbean name, or, alternatively, the path.
In Struts 2, we put the validators in a sepaate file that's tied to the mappings through the classname. Why is it that we don't make the validators part of the action mapping, instead of in a separate element? I wonder if validators should be more like results. (Pre-results, if you will.) A mapping could have a default validator mapping. If the mapping is using wildcards, a different validator mapping could be selected by a wildcard token, or even an interceptor. I think one reason people find XML configurations hard to use is because we keep putting tightly-coupled elements in separate files, instead of saying it all in one place. -Ted. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]