-
May 19th, 2012, 08:07 AM
#1
Optional parameters in rest url
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
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules