Last active
January 1, 2016 20:18
-
-
Save riteshmodi/8195832 to your computer and use it in GitHub Desktop.
Configured rest easy in web.xml
This file contains hidden or 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
| <web-app id="WebApp_ID" version="2.4" | |
| xmlns="http://java.sun.com/xml/ns/j2ee" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee | |
| http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> | |
| <display-name>Restful Web Application</display-name> | |
| <context-param> | |
| <param-name>resteasy.scan</param-name> | |
| <param-value>true</param-value> | |
| </context-param> | |
| <listener> | |
| <listener-class>org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap</listener-class> | |
| </listener> | |
| <servlet> | |
| <servlet-name>resteasy-servlet</servlet-name> | |
| <servlet-class>org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</servlet-class> | |
| </servlet> | |
| <servlet-mapping> | |
| <servlet-name>resteasy-servlet</servlet-name> | |
| <url-pattern>/*</url-pattern> | |
| </servlet-mapping> | |
| </web-app> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment