Browse Source

Fix code inclusion in Jersey documentation

See gh-40629
pull/40631/head
Piyal Ahmed 2 years ago committed by Moritz Halbritter
parent
commit
3ce1bf6c8f
  1. 2
      spring-boot-project/spring-boot-docs/src/docs/antora/modules/how-to/pages/jersey.adoc

2
spring-boot-project/spring-boot-docs/src/docs/antora/modules/how-to/pages/jersey.adoc

@ -23,4 +23,4 @@ To use Jersey alongside another web framework, such as Spring MVC, it should be @@ -23,4 +23,4 @@ To use Jersey alongside another web framework, such as Spring MVC, it should be
First, configure Jersey to use a filter rather than a servlet by configuring the configprop:spring.jersey.type[] application property with a value of `filter`.
Second, configure your `ResourceConfig` to forward requests that would have resulted in a 404, as shown in the following example.
includ-code::alongsideanotherwebframework/JerseyConfig[]
include-code::alongsideanotherwebframework/JerseyConfig[]

Loading…
Cancel
Save