Re: Spring applicationContext in library

2006-04-25 Thread Stephane Decleire
Yea it helps ! That works great. Thanks Eric. Eric Fesler wrote: I guess you should have a ContextLoaderListener setup in your WEB-INF/web.xml file. It it's the case, then you should add the following context parameter in your web.xml contextConfigLocation

Re: Spring applicationContext in library

2006-04-25 Thread Eric Fesler
I guess you should have a ContextLoaderListener setup in your WEB-INF/web.xml file. It it's the case, then you should add the following context parameter in your web.xml contextConfigLocation classpath*:META-INF/applicationContext.xml /W

Re: Spring applicationContext in library

2006-04-25 Thread Stephane Decleire
You've understood my configuration. I've tried to rename the applicationContext file with no results. It looks like this file is never parsed ... Mark wrote: I'm not sure if I understand this... Do you have your library as a jar file (your-lib.jar) and in there an applicationContext.xml? And t

Re: Spring applicationContext in library

2006-04-24 Thread Mark
I'm not sure if I understand this... Do you have your library as a jar file (your-lib.jar) and in there an applicationContext.xml? And then another applicationContext.xml in your webapp classpath? If so, then I guess your xml file in the jar gets overwritten by the one in the webapp. I guess you