Validator with more than one module

2005-03-11 Thread Diego Espada
Hi I'm trying to use the validator with one that more Struts module, but I've found that if you've more than one module, only one of them load the validation xmls correctly, the others don't. Having this in the web.xml /WEB-INF/struts-config-one.xml, /WEB-INF/struts-config-two.xml: Each one

Re: Validator with more than one module

2005-03-11 Thread Corey Probst
By adding a comma separated list of struts config files, you are not specifying multiple *modules*, just multiple config files. ValidatorResources are stored in the ServletContext after being read by the plugin. So, when struts-config-two is read, it overwrites the info stored for

Re: Validator with more than one module

2005-03-11 Thread Cliff Lam
If you not trying to use multi-module, you can try to include your all validation.xml into one config.xml. Lucky Cliff - Original Message - From: Diego Espada [EMAIL PROTECTED] To: user@struts.apache.org Sent: Saturday, March 12, 2005 2:22 AM Subject: Validator with more than one