Skip to content

Commit f44c99d

Browse files
committed
Merge branch '2.4.x'
Closes gh-26452
2 parents 89b5ece + fd3d619 commit f44c99d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/developing-web-applications.adoc

+2
Original file line numberDiff line numberDiff line change
@@ -727,6 +727,8 @@ By default, the servlet is initialized lazily, but you can customize that behavi
727727
You can disable or override that bean by creating one of your own with the same name.
728728
You can also use a filter instead of a servlet by setting `spring.jersey.type=filter` (in which case, the `@Bean` to replace or override is `jerseyFilterRegistration`).
729729
The filter has an `@Order`, which you can set with `spring.jersey.filter.order`.
730+
When using Jersey as a filter, a Servlet that will handle any requests that are not intercepted by Jersey must be present.
731+
If your application does not contain such a servlet, you may want to enable the default servlet by setting configprop:server.servlet.register-default-servlet[] to `true`.
730732
Both the servlet and the filter registrations can be given init parameters by using `spring.jersey.init.*` to specify a map of properties.
731733

732734

0 commit comments

Comments
 (0)