摘要:
package com.qmtt.tools; import org.springframework.beans.BeansException; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; import org... 阅读全文
posted @ 2018-01-30 17:15
wujf
阅读(531)
评论(0)
推荐(0)
摘要:
package com.qmtt.config; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.web.bind.annotation.ControllerAdvice; impo... 阅读全文
posted @ 2018-01-30 11:48
wujf
阅读(133)
评论(0)
推荐(0)
摘要:
@Configuration public class SpringWebConfig extends WebMvcConfigurationSupport { @Override public void configurePathMatch(PathMatchConfigurer configurer) { AntPathMatcher pathMatcher... 阅读全文
posted @ 2018-01-30 10:55
wujf
阅读(1091)
评论(0)
推荐(0)
摘要:
@WebFilter(urlPatterns = "/*", filterName = "corsFilter") public class CorsFilter implements Filter { @Override public void destroy() { } @Override public void doFilter(ServletR... 阅读全文
posted @ 2018-01-30 10:53
wujf
阅读(160)
评论(0)
推荐(0)

浙公网安备 33010602011771号