mlarchet
Feb 16th, 2006, 06:03 AM
Hello,
I'm currently working on my first Portlet with Spring-MVC.
In my web.xml file, I've declared a ContextLoaderListener with context parameter 'contextConfigLocation' pointing at my applicationContext.xml file (which is almost empty except my ViewResolverBean).
In my portlet.xml file, I've configured a DispatcherPortlet with contextConfigLocation pointing at my 3 configuration files, dao.xml, domain.xml and web.xml. There's a PropertyPlaceHolderConfigurer in my dao.xml but properties aren't available in my other files, even if I configure another PropertyPlaceHolderConfigurer in each config file.
I've already tried to declare my PropertyConfigurer il my applicationContext.xml file but it doesn't work either.
Is there any solution, except using only one configuration file ?
Thanks
I'm currently working on my first Portlet with Spring-MVC.
In my web.xml file, I've declared a ContextLoaderListener with context parameter 'contextConfigLocation' pointing at my applicationContext.xml file (which is almost empty except my ViewResolverBean).
In my portlet.xml file, I've configured a DispatcherPortlet with contextConfigLocation pointing at my 3 configuration files, dao.xml, domain.xml and web.xml. There's a PropertyPlaceHolderConfigurer in my dao.xml but properties aren't available in my other files, even if I configure another PropertyPlaceHolderConfigurer in each config file.
I've already tried to declare my PropertyConfigurer il my applicationContext.xml file but it doesn't work either.
Is there any solution, except using only one configuration file ?
Thanks