which init-param to use: jersey.config.server.provider.packages or javax.ws.rs.Application?
问题 I am deploying JAX-RS web services to a Tomcat servlet container. I have seen code examples that use either of the following two methods of indicating the resources in the web.xml file: method 1 - using the `jersey.config.server.provider.packages` init-param <servlet> <servlet-name>Jersey Web Application</servlet-name> <servlet-class>org.glassfish.jersey.servlet.ServletContainer</servlet-class> <init-param> <param-name>jersey.config.server.provider.packages</param-name> <param-value>com