Solve SpringMVC access to static resources

1 Add in spring-mvc.xml
      
<!-- Access static resources without URL mapping -->
	<mvc:default-servlet-handler/>

  To add the following configuration: SpringMVC request to access the default configuration mapping
   
<mvc:annotation-driven></mvc:annotation-driven>

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327007475&siteId=291194637