users@jersey.java.net

[Jersey] ImplicitViewables

From: Mehdi Ben Haj Abbes <mehdi.abbes_at_gmail.com>
Date: Tue, 23 Dec 2008 02:02:33 +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