Hi, According to my experience, we cannot update the value of web.xml as runtime value. It is because the web container will read the content of web.xml only once when it is start up. web.xml file is web application configuration that is used by the web container to get information about our web application.
So if we want to change the value of web.xml, we have to restart the web container so it can retrieve new value.
Correct me if I am wrong thanks daniel
posted 15 years ago
They don't want a runtime solution. Failover will require a restart. I don't agree with it but I must follow it.