users@jersey.java.net

ImplicitViewables

From: Mehdi Ben Haj Abbes <mehdi.abbes_at_gmail.com>
Date: Mon, 22 Dec 2008 13:37:20 +0100

Hi,
is it possible for the same path (e.g. container/{itemid}) to have GET
implicitly (so to get the representation of a resource through a JSP page)
without putting @GET in the Item.java and to have the other methods (PUT
POST DELETE) explicitly through the annotations in the resource class?

and I have made the changes for web.xml with
        <init-param>
            <param-name>com.sun.jersey.config.feature.Redirect</param-name>
            <param-value>true</param-value>
        </init-param>
        <init-param>

 <param-name>com.sun.jersey.config.feature.ImplicitViewables</param-name>
            <param-value>true</param-value>
        </init-param>

Thanks

-- 
Mehdi BEN HAJ ABBES