Expanding springmvc components-to be continued

Register the view controller in the container

When the page jumps, we need to create an empty method in the Controller to jump, so is there any other configuration method?

Create a WebMvcConfig configuration class to    implement WebMvcConfigurer    override the addViewControllers method

Published 529 original articles · praised 115 · 90,000 views

Guess you like

Origin blog.csdn.net/qq_39368007/article/details/105622799