I have a class that services many actions. For each action that needs validation I have a corresponding Class-action-validation.xml, which takes care of the simple validation. However, I have a case where two actions need more complex validation (handled in Struts 1 by validwhen and indexedproperty validators), and I've overridden the validate() method in an attempt to handle this. The problem now is that I need to work out which action caused the validate() method to be called. How can I determine this? Alternatively, is there a way to direct an action to a validate method that is intended only for that action? For example, actionA would cause method validateActionA() to be called. Any hints, pointers or help would be greatly appreciated. -- View this message in context: http://www.nabble.com/-S2--Action-specific-validate-method--tf4631839.html#a13226367 Sent from the Struts - User mailing list archive at Nabble.com.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]