note to myself…..
Lately I was trying to find out how to configure spring’s DispatcherServlet in order to use multiple config files. don’t remember where but I happened to come across with an answer that there is no way to do that. this is completely wrong , at least for spring 2.5 release. Besides, it is very easy… mmmm so I should immediately keep a record of thissss.
in web.xml file
<servlet>
<servlet-name>myApp</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet
</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:dbase.xml,classpath:controller.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>