mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Merge pull request #40629 from PiyalAhmed
* pr/40629: Polish "Fix code inclusion in Jersey documentation" Fix code inclusion in Jersey documentation Closes gh-40629
This commit is contained in:
commit
0747bc816f
@ -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::JerseyConfig[]
|
||||
|
Loading…
Reference in New Issue
Block a user