AFAIK web.xml does not allow the context-param parameter from the file, but only a "static" declaration. This is a specification. You might be able to create web.xml dynamically during build or something like that, but chances are that this is not what you want.
"spring" / "spring -mvc" , , , ,