Created
June 5, 2017 05:04
-
-
Save sachinsmc/bcfdfa9d8d204714225a85fe6807bc34 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns="http://java.sun.com/xml/ns/javaee" xmlns:javaee="http://xmlns.jcp.org/xml/ns/javaee" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" | |
version="3.0"> | |
<display-name>RestJWT API</display-name> | |
<servlet> | |
<servlet-name>RestJWT</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.smc.webservice</param-value> | |
</init-param> | |
<init-param> | |
<param-name>jersey.config.server.provider.classnames</param-name> | |
<param-value>org.glassfish.jersey.jackson.JacksonFeature</param-value> | |
</init-param> | |
<load-on-startup>1</load-on-startup> | |
</servlet> | |
<servlet-mapping> | |
<servlet-name>RestJWT</servlet-name> | |
<url-pattern>/api/*</url-pattern> | |
</servlet-mapping> | |
</web-app> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment