问题描述
Spring MVC 中的@RequestMapping(method = RequestMethod.OPTIONS)无法拦截,貌似这个注解不能拦截OPTIONS方法,get,post,put都能,为什么这个不能,有什么解决办法
解决方案
这里给个提示,看是否解决:http://stackoverflow.com/questions/23103832/spring-mvc-does-not-handle-requestmethod-options
时间: 2024-08-01 09:10:20