users@jersey.java.net

[Jersey] Was: " _at_ApplicationPath not working"

From: Markus Karg <markus.karg_at_gmx.net>
Date: Fri, 14 Jan 2011 18:21:31 +0100

BTW,

> <servlet>
> <servlet-name>foo.ApplicationConfig</servlet-name>
> <load-on-startup>1</load-on-startup>
> </servlet>

is that really supported in Jersey? The WIKI
(http://wikis.sun.com/display/Jersey/Overview+of+JAX-RS+1.0+Features) says
no: "...but as of writing this is not currently supported for Jersey.
Instead it is necessary to declare the Jersey specific servlet and the
Application class as follows... (web.xml sample)". I assume that the wiki is
outdated as it is from 1.0, but it would be great if the wiki would be
adjusted to 1.4 possibilities (like not providing a web.xml at all)... :-)

Regards
Markus