> For the complete documentation index, see [llms.txt](https://jack80342.gitbook.io/spring-boot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jack80342.gitbook.io/spring-boot/iv.-spring-boot-features/27.-developing-web-applications/27.4-embedded-servlet-container-support/27.4.3-the-servletwebserverapplicationcontext.md).

# 27.4.3 ServletWebServerApplicationContext

Spring Boot底层使用一种不同的`ApplicationContext`类型，用于对内嵌servlet容器的支持。`ServletWebServerApplicationContext`是一种特殊类型的`WebApplicationContext`，它通过搜索到的单个`ServletWebServerFactory` bean来启动自己，通常`TomcatServletWebServerFactory`，`JettyServletWebServerFactory`或`UndertowServletWebServerFactory`将被自动配置。

**注** 你通常不需要关心这些实现类，大部分应用都能被自动配置，并根据你的行为创建合适的`ApplicationContext`和`ServletWebServerFactory`。
