no

How to enable Jersey Servlet in web.xml

To enable jersey web service in your web application, simply copy and paste the code below in your web.xml file. <servlet> <serv...

To enable jersey web service in your web application, simply copy and paste the code below in your web.xml file.

<servlet>
 <servlet-name>Jersey REST Service</servlet-name>
 <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>
 <init-param>
  <param-name>com.sun.jersey.config.property.packages</param-name>
  <param-value>com.ipiel</param-value>
 </init-param>
 <load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
 <servlet-name>Jersey REST Service</servlet-name>
 <url-pattern>/api/*</url-pattern>
</servlet-mapping>

Related

java 7258951315053536256

Post a Comment

item