@RequestMapping(value = "{path:[^\\.]*}")
This regex catch only those requests which looks like: http://localhost:8091/history
. How to change it into regex
which will catch more specific requests like e.g. http://localhost:8091/history/blabla
, http://localhost:8091/history/1
?
Unfortunately @RequestMapping(value = "/**")
doesn't work at all.