Aug 9th, 2012, 03:54 AM
How to Reset the WebApplicationContext with new properties file values
The issue is ,There is a Request Parameter in every Log-in Request to our Web Application ,based on this value we have to load respective properties file which contains DB,LDAP,SMTP..etc properties,we are initially loading a default properties file which set up the environment to take request ,but after taking request based on param value we are unable to reload the webApplicationContext with new DB,LDAP,SMTP...values..I have Customized ContextLoaderListener,but it still unable to solve the problem..,So could any one please provide solution would be appreciated.
Aug 15th, 2012, 11:01 AM
I don't quite understand what you're trying to achieve here, but the webApplicationContext is not something you want to "reload" for every request.