mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-20 22:59:01 +00:00
Update docs with Servlet property load ordering
Fixes gh-5752 Closes gh-5752
This commit is contained in:
committed by
Phillip Webb
parent
cf28f55e98
commit
a3469c5e26
@@ -333,6 +333,8 @@ sensible overriding of values, properties are considered in the following order:
|
||||
|
||||
. Command line arguments.
|
||||
. Properties from `SPRING_APPLICATION_JSON` (inline JSON embedded in an environment variable or system property)
|
||||
. `ServletConfig` init parameters.
|
||||
. `ServletContext` init parameters.
|
||||
. JNDI attributes from `java:comp/env`.
|
||||
. Java System properties (`System.getProperties()`).
|
||||
. OS environment variables.
|
||||
|
||||
Reference in New Issue
Block a user