users@jersey.java.net

Matrix params

From: Aditya Gore <aditya.gore_at_gmail.com>
Date: Mon, 13 Aug 2007 15:37:38 +0530

Hi,

I have the following method in my resource class:
       @HttpMethod
        public Addresses getAddresses(@MatrixParam("a") String param) {
                System.out.println("AddressesResource.getAddresses() : " + param);
                return addresses;
        }

If I invoke: wget http://localhost:9998/addresses;a=b, I expect the
above sysout to print "AddressesResource.getAddresses() : b". But this
doesn't seem to be happening!

Am I specifying the matrix parameter incorrectly? This is with jersey-ea-0.2.

regards,
:aditya