响应json数据之过滤静态资源
生活随笔
收集整理的這篇文章主要介紹了
响应json数据之过滤静态资源
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"xmlns:mvc="http://www.springframework.org/schema/mvc"xmlns:context="http://www.springframework.org/schema/context"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://www.springframework.org/schema/beanshttp://www.springframework.org/schema/beans/spring-beans.xsdhttp://www.springframework.org/schema/mvchttp://www.springframework.org/schema/mvc/spring-mvc.xsdhttp://www.springframework.org/schema/contexthttp://www.springframework.org/schema/context/spring-context.xsd"><!--前端控制器,哪些靜態資源不攔截--><mvc:resources location="/css/" mapping="/css/**"/><mvc:resources location="/images/" mapping="/images/**"/><mvc:resources location="/js/" mapping="/js/**"/></beans>
?
總結
以上是生活随笔為你收集整理的响应json数据之过滤静态资源的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: ModelAttribute注解
- 下一篇: 响应json数据之响应json格式数据