How To Enable Jersey Servlet Inward Web.Xml

To enable jersey spider web service inwards your spider web application, exactly re-create as well as glue the code below inwards 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> 
Next
Previous
Click here for Comments

0 komentar:

Please comment if there are any that need to be asked.