I have problem with Jax-rs @Path variable, I need to differentiate the following two pathparams
- @Path({domain}/{id})
- @Path({domain}/{filename})
sample url for both:
1. http://localhost:8080/in.com/lrth09erdfgwe
2. http://localhost:8080/in.com/lrth09erdfgwe.xml
I think we need to use regex in pathparam! I tried it but failed to get it! I'm using this application in Resteasy integration with spring-mvc. Plz advice on this issue!
Cheers!