[Javalist] resteasy
András Csányi
sayusi.ando at gmail.com
2011. Dec. 23., P, 14:06:02 CET
2011/12/22 Laszlo Hornyak <laszlo.hornyak at gmail.com>:
> Hali!
>
> Passzivan hasznalom, az ovirt.org rest apija is resteasy-vel megy. En
> kicsit inaktiv projectnek tartom, inkab kerulom melon kivul.
> Viszont elso kerdeskent... a web.xml-be be van regelve a resteasy servlet?
>
> Mi a hibajelenseg? 404 vagy 500? :-)
404 és az alábbiak vannak a web.xml -ben:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
<context-param>
<param-name>resteasy.scan</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>resteasy.servlet.mapping.prefix</param-name>
<param-value>/</param-value>
</context-param>
<listener>
<listener-class>org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap</listener-class>
</listener>
<servlet>
<servlet-name>PartnerServices</servlet-name>
<servlet-class>org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</servlet-class>
<init-param>
<param-name>javax.ws.rs.Application</param-name>
<param-value>com.sayusiando.java.dilib.rest.dilibcore.PartnerServices</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>PartnerServices</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>
--
- -
-- Csanyi Andras (Sayusi Ando) -- http://sayusi.hu --
http://facebook.com/andras.csanyi
-- ""Trust in God and keep your gunpowder dry!" - Cromwell
További információk a(z) Javalist levelezőlistáról