Clone
Marcin Cieslak
committed
on 30 Nov 21
LDEV-5259 Use MVC initialisation via annotation
Manually triggering controller scanning by adding an annotation handler
bean does not regist… Show more
LDEV-5259 Use MVC initialisation via annotation

Manually triggering controller scanning by adding an annotation handler

bean does not register all useful support beans. If

<mvc:annotation-driven> is used in spring-servlet.xml, all support beans

are registered via WebMvcConfigurer.

<mvc:path-matching suffix-pattern="true" /> need to be added because we

use .do suffix for Spring actions and suffix was turned off for Spring

5.3

https://github.com/spring-projects/spring-framework/issues/24179 Show less