ssm框架如果想要跨域请求,cors跨域

   <!-- 跨域 -->
    <mvc:cors>
        <mvc:mapping path="/**"/>
    </mvc:cors> 
    

在spring-mvc后面加上这个,

也可以在

posted @ 2019-03-21 22:21  若冲  阅读(638)  评论(0编辑  收藏  举报