Spring MVC “duplicates” parts of the URL

后端 未结 4 1349
攒了一身酷
攒了一身酷 2021-02-14 12:14

I have a simple @Controller within a spring-mvc environment. This is the Controller:

@Controll         


        
4条回答
  •  鱼传尺愫
    2021-02-14 12:24

    Do you have a file named messaging-servlet.xml that declares the web application context? By default because you have named the DispatcherServlet messaging, Spring will try to locate that file.

提交回复
热议问题