SpringMVC the central path mapping scheduler attention to the problem

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/donnieliu/article/details/102764747

1. The path can not be configured / * form, because / * able to handle all requests, when we call our dynamic resource no corresponding processor to process the request, an error will be reported 404;
2. best path can not be dubbed / . / Can filter out dynamic resource, will not be handed over to the central dynamic resource scheduler to deal with, but will be static resources to the central scheduler processing, it will report a 404 error.
3. If it is static resources, you should use the default servlet handling.

Guess you like

Origin blog.csdn.net/donnieliu/article/details/102764747