Set the context-param parameter in the web.xml file from the property / XML file

How to set context-param value in web.xml file from external property / XML file when running my java web application.

+4
source share
1 answer

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" , , , ,

0

Source: https://habr.com/ru/post/1694668/


All Articles