<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-2"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hello!<br>
<br>
Esetleg így?<br>
<br>
...<br>
<pre wrap=""> <context-param>
<param-name>resteasy.servlet.mapping.prefix</param-name>
<param-value>/<font color="#ff0000">rest</font></param-value>
</context-param>
</pre>
...<br>
<br>
AI<br>
<br>
2011-12-23 14:06 keltezéssel, András Csányi írta:
<blockquote
cite="mid:CALzub=r7E=Lxt2zDw1rhOFkWHiT7TsifQ0jdU0NwrdSQnBH74g@mail.gmail.com"
type="cite">
<pre wrap="">2011/12/22 Laszlo Hornyak <a class="moz-txt-link-rfc2396E" href="mailto:laszlo.hornyak@gmail.com"><laszlo.hornyak@gmail.com></a>:
</pre>
<blockquote type="cite">
<pre wrap="">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? :-)
</pre>
</blockquote>
<pre wrap="">
404 és az alábbiak vannak a web.xml -ben:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns=<a class="moz-txt-link-rfc2396E" href="http://java.sun.com/xml/ns/javaee">"http://java.sun.com/xml/ns/javaee"</a>
xmlns:xsi=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a>
xsi:schemaLocation=<a class="moz-txt-link-rfc2396E" href="http://java.sun.com/xml/ns/javaeehttp://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">"http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"</a>>
<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>
</pre>
</blockquote>
<br>
</body>
</html>