Hi everybody, Here is my problem : I have two jsp that share the same action class (and the same form). As they don't contain the same fields, I would like to have two different validations : one for each jsp. I use Validator and Struts 1.2. How can I do that ? Thanks in advance. Julie
Use ValidatorActionForm or DynaValidatorActionForm and when the validate() method is called by Struts, the validation rules will be looked up using the action path instead of the form bean name. That is, in your validator config, where you might have had "<form name="EditImage">", you would now have "<form name="/path/to/EditImageAction">"
Joe
--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]