users@jersey.java.net

Re: how to get PathParam from classes ?

From: Felipe Gaúcho <fgaucho_at_gmail.com>
Date: Sun, 30 Aug 2009 10:42:24 +0200

got it, I just redeclare it in the method:

        @GET
        @Produces( { MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
        @Path("{offset}/{limit}")
        public Collection<PujCompetitionEntity> selectAll(
                        @PathParam("institution") String institution,
                        @PathParam("offset") int offset, @PathParam("limit") int limit) {

ok......