Skip to content

Update Static Content reference documentation to reflect the DefaultServlet no longer being enabled by default #31792

@wilkinsona

Description

@wilkinsona

https://docs.spring.io/spring-boot/docs/2.6.9/reference/html/web.html#web.servlet.spring-mvc.static-content

This paragraph is no longer accurate:

In a stand-alone web application, the default servlet from the container is also enabled and acts as a fallback, serving content from the root of the ServletContext if Spring decides not to handle it. Most of the time, this does not happen (unless you modify the default MVC configuration), because Spring can always handle requests through the DispatcherServlet.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions