I am trying to come with a good convention to do request mappings in my application
right now i have
RegistrationController {
@RequestMapping(value="/registerMerchant")
...
@RequestMapping(value="/registerUser")
...
}
but this isnt ideal since by looking at the url you might not know to look in RegistrationController for the code.
Is there a way i can programmitically prepend the controller name of those mappings making them:
/registration/registerMerchant
/registration/registerUser