Add landing page controller for welcome file configuration
ProprietaryGenerates a LandingPageController when welcome-file-list is found in web.xml or context-root in jboss-web.xml. When migrating to Spring Framework 5.3+, applications that rely on these server-side landing page configurations need a @Controller with a @RequestMapping for / to avoid 404 errors, as Spring MVC can take over the root mapping. Skips generation if a controller already maps to /.
io. moderne. java. spring. framework. webxml. FindWelcomeFileConfigurationmod run . --recipe= io. moderne. java. spring. framework. webxml. FindWelcomeFileConfigurationInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.