File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
spring-boot-docs/src/main/asciidoc Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3228,9 +3228,9 @@ replacing those elements from the `web.xml` as follows:
3228
3228
container as if it was a `<servlet/>` and `<servlet-mapping/>` in `web.xml`.
3229
3229
* A `@Bean` of type `Filter` or `FilterRegistrationBean` behaves similarly (like a
3230
3230
`<filter/>` and `<filter-mapping/>`.
3231
- * An `ApplicationContext` in an XML file can be added to an `@Import ` in your
3232
- `Application`. Or simple cases where annotation configuration is heavily used already
3233
- can be recreated in a few lines as `@Bean` definitions.
3231
+ * An `ApplicationContext` in an XML file can be added through an `@ImportResource ` in
3232
+ your `Application`. Or simple cases where annotation configuration is heavily used
3233
+ already can be recreated in a few lines as `@Bean` definitions.
3234
3234
3235
3235
Once the war is working we make it executable by adding a `main` method to our
3236
3236
`Application`, e.g.
You can’t perform that action at this time.
0 commit comments