I am trying to come up with a good agreement to do query mappings in my application
right now I have
RegistrationController {
@RequestMapping(value="/registerMerchant")
...
@RequestMapping(value="/registerUser")
...
}
but this is not ideal, because when looking at the URL you may not know to look RegistrationControllerfor the code.
Is there a way that I can programmatically add a controller name from these mappings creating them:
/registration/registerMerchant
/registration/registerUser
source
share