Hello, Thanks for your answer. The test-context.xml is a very simple file. It just contains the ZipCodeValidator bean, which I need for the validators.xml. I have also tested that the bean gets instantiated in the class, and it does. I think the problem is that there could be 2 containers, and that I can’t get the ZipCodeValidator bean inside the other container. (container.getInstance(ActionValidatorManager.class)) .
But does anybody know how I can get the springbean inside the other container (container.getInstance(ActionValidatorManager.class))? -- View this message in context: http://www.nabble.com/Problem-testing-my-action-when-I%E2%80%99ve-got-a-springbean-inside-the-validators.xml-tp24862185p25167033.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org