跟spring2.5整合方式是一样的!~
1、
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
WEB-INF/applicationContext.xml
classpath:/xx/spring/xx_cfg.xml
</param-value>
</context-param>
2、
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
3、
<servlet>
<servlet-name>Jersey Web Application</servlet-name>
<servlet-class>com.sun.jersey.spi.spring.container.servlet.SpringServlet</servlet-class>
<init-param>
<param-name>com.sun.jersey.api.json.POJOMappingFeature</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>com.sun.jersey.config.property.packages</param-name>
<param-value>
com.xx.mobi.dd.delegate;
com.xx.mobi.kd.delegate;
com.xx.mobi.sc.delegate;
</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>