Skip to content

Commit f1aae5c

Browse files
committed
Merge branch '3.5.x'
Closes gh-48112
2 parents 5625209 + 4e75a07 commit f1aae5c

File tree

1 file changed

+8
-0
lines changed
  • documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/web

1 file changed

+8
-0
lines changed

documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/web/servlet.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,14 @@ The single `onStartup` method provides access to the javadoc:jakarta.servlet.Ser
589589

590590

591591

592+
[[web.servlet.embedded-container.context-initializer.init-parameters]]
593+
==== Init Parameters
594+
595+
Init parameters can be configured on the javadoc:jakarta.servlet.ServletContext[] using `server.servlet.context-parameters.*` properties.
596+
For example, the property `server.servlet.context-parameters.com.example.parameter=example` will configure a `ServletContext` init parameter named `com.example.parameter` with the value `example`.
597+
598+
599+
592600
[[web.servlet.embedded-container.context-initializer.scanning]]
593601
==== Scanning for Servlets, Filters, and listeners
594602

0 commit comments

Comments
 (0)