I am converting existing spring based application from xml to java config. There are some spring xml configurations to which i do not have access to modify them. So i need to add my java based spring config to web.xml how do i do it? below is my contextConfigLocation definition in web.xml
<context-param> <param-name>contextConfigLocation</param-name> <param-value> classpath*:/moduleApplicationContext.xml classpath*:/webModuleApplicationContext.xml <!--need to add spring java config here--> </param-value> </context-param>