Hi,
Unfortunately this is not possible, this is currently only supported
non-templated-based views, where the path segment is derived from the
view name. You need to use a sub-resource locator to return a new
resource from which the implicit views can then be supported.
Paul.
On Dec 23, 2008, at 2:02 AM, Mehdi Ben Haj Abbes wrote:
> 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
>
>