src/main/webapp/WEB-INF/spring-mvc.xml
@@ -55,7 +55,7 @@ </mvc:cors> <mvc:resources mapping="/upload/**" location="file:///d:/opt/file/smartlab/img/" /> <mvc:resources mapping="/upload/**" location="file:${personImgPath}" /> <!-- 静态资源(js、image等)的访问 --> <mvc:default-servlet-handler/> </beans>