How to handle requests that includes forward slashes (/)?

Another way I do is:

@RequestMapping(value = "test_handler/**", method = RequestMethod.GET)

…and your test handler can be “/test_hanlder/a/b/c” and you will get the whole value using following mechanism.

requestedUri = (String) 
request.getAttribute(HandlerMapping.PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE);

Leave a Comment

deneme bonusu veren sitelerbahis casinomakrobetceltabetpinbahispolobetpolobet girişpinbahis girişmakrobet girişpulibet girişmobilbahis girişkolaybet giriş