I'm trying to make value atribute for spring @RequestMapping annotation to map url like this
/educationDistrict/308/action/resetAddressesForYear/1
and this
/educationDistrict/308/action/resetAddressesForYear
I'h have this
@RequestMapping(value = "/{repository}/{id}/action/{methodName:[A-z]*}{v:.*}", method = RequestMethod.POST)
but first url does not match.
I can't use multi value because of spring-hateoas http://ift.tt/1DEaR8G
spring 4.1.5
Aucun commentaire:
Enregistrer un commentaire