Jan 18th, 2012, 10:06 AM
How to change the <Context-Param> in web.xml programatically
I have a requirement that one web application should be accessed by 2 different urls. They should have different color schemes. I am using primefaces. The prime faces scheme should be defined in web.xml as a context-param.
Can I make this change dynamically based on the url.
I have seen that ServletContextPropertyPlaceholderConfigurer can be used. But not able to get an example.