Skip to content

Commit f50a0f9

Browse files
michael-simonssnicoll
authored andcommitted
Clarify usage of @ImportResource in doc
See gh-8143
1 parent 3e4ed59 commit f50a0f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-docs/src/main/asciidoc/howto.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3235,7 +3235,7 @@ replacing those elements from the `web.xml` as follows:
32353235
container as if it was a `<servlet/>` and `<servlet-mapping/>` in `web.xml`.
32363236
* A `@Bean` of type `Filter` or `FilterRegistrationBean` behaves similarly (like a
32373237
`<filter/>` and `<filter-mapping/>`.
3238-
* An `ApplicationContext` in an XML file can be added to an `@Import` in your
3238+
* An `ApplicationContext` in an XML file can be added through an `@ImportResource` in your
32393239
`Application`. Or simple cases where annotation configuration is heavily used already
32403240
can be recreated in a few lines as `@Bean` definitions.
32413241

0 commit comments

Comments
 (0)