diff --git a/spring-boot-docs/src/main/asciidoc/howto.adoc b/spring-boot-docs/src/main/asciidoc/howto.adoc index 0451c16423..45b307530b 100644 --- a/spring-boot-docs/src/main/asciidoc/howto.adoc +++ b/spring-boot-docs/src/main/asciidoc/howto.adoc @@ -3235,9 +3235,9 @@ replacing those elements from the `web.xml` as follows: container as if it was a `` and `` in `web.xml`. * A `@Bean` of type `Filter` or `FilterRegistrationBean` behaves similarly (like a `` and ``. -* An `ApplicationContext` in an XML file can be added to an `@Import` in your - `Application`. Or simple cases where annotation configuration is heavily used already - can be recreated in a few lines as `@Bean` definitions. +* An `ApplicationContext` in an XML file can be added through an `@ImportResource` in + your `Application`. Or simple cases where annotation configuration is heavily used + already can be recreated in a few lines as `@Bean` definitions. Once the war is working we make it executable by adding a `main` method to our `Application`, e.g.