- merge restfull
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@33094 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
f536fab005
commit
203d7d3bf5
|
@ -2,19 +2,41 @@
|
||||||
|
|
||||||
<!-- web.xml link de configuração http://static.springsource.org/spring-security/site/docs/3.0.x/reference/ns-config.html -->
|
<!-- web.xml link de configuração http://static.springsource.org/spring-security/site/docs/3.0.x/reference/ns-config.html -->
|
||||||
|
|
||||||
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
|
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
|
||||||
|
|
||||||
<description>ventaboletos</description>
|
<description>ventaboletos</description>
|
||||||
<display-name>ventaboletos</display-name>
|
<display-name>ventaboletos</display-name>
|
||||||
|
|
||||||
<!--icon> <small-icon>/img/new/save16.png</small-icon> <large-icon>/img/new/back32.png</large-icon>
|
|
||||||
</icon -->
|
<!-- Auto scan REST service -->
|
||||||
|
<context-param>
|
||||||
|
<param-name>resteasy.scan</param-name>
|
||||||
|
<param-value>true</param-value>
|
||||||
|
</context-param>
|
||||||
|
<!-- this need same with resteasy servlet url-pattern -->
|
||||||
|
<context-param>
|
||||||
|
<param-name>resteasy.servlet.mapping.prefix</param-name>
|
||||||
|
<param-value>/rest</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>/rest/*</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
|
||||||
|
|
||||||
<!-- Spring ApplicationContext -->
|
<!-- Spring ApplicationContext -->
|
||||||
|
|
||||||
<context-param>
|
<context-param>
|
||||||
<param-name>contextConfigLocation</param-name>
|
<param-name>contextConfigLocation</param-name>
|
||||||
<param-value>
|
<param-value>
|
||||||
|
|
Loading…
Reference in New Issue