Hello Matt,
Yes.
I was able to solve the problem with the following piece of code by moving
applicationContext-resources.xml to \web\WEB-INF\classes from \web\WEB-INF.
Is it okay to do so?
String[] path = {
"classpath:META-INF/applicationContext-hibernate.xml",
"classpath:META-INF/applicationContext-service.xml",
"classpath:applicationContext-resources.xml"
};
ApplicationContext applicationContext = new
ClassPathXmlApplicationContext(path);
ConcernedPersonsManager concernedPersonsManager =
(ConcernedPersonsManager)
applicationContext.getBean("concernedPersonsManager");
Thank you.
Sudheer Palaparambil
Are you sure your bean is named "personsManager" and not "personManager"?
Matt
--
View this message in context:
http://www.nabble.com/How-to-get-a-reference-to-a-manager-in-a-custom-validator-tp14496212s2369p14714623.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]