web.xml配置如下:
<servlet-name>Jersey REST Service</servlet-name>
<!-- <servlet-class>org.glassfish.jersey.servlet.ServletContainer</servlet-class>-->
<servlet-class>com.sun.jersey.spi.spring.container.servlet.SpringServlet</servlet-class>
<init-param>
<param-name>jersey.config.server.provider.classnames</param-name>
<param-value>com.hj.rest.damon.CorsResponseFilter</param-value>
</init-param>