Hi

Is it possible to have optional path variables while implementing rest services with spring 3.1.1

ex.:

foollowing urls must map to same method:

http://localhost:8080/location/ind

http://localhost:8080/location/ind/del

I use following requestmapping for first url:

/location/{contry}

and for second url:

/location/{contry}/{state}


Currently i am using differentt methods for both urls