特定の URL の下にすべてをマップし、そのマップされた値をリクエスト変数にキャッチする方法を知っている人はいますか?
@RequestMapping("/content/{path:.*}") // matches only one level
@RequestMapping("/content/**") // matches everything, can't catch
// the actual value matched by the two stars
@RequestMapping("/content/{path:**}") // does not compute
マップする必要があるのは次のとおりです。
/content/a.gif
/content/a/b.gif
/content/a/b/c.gif
/content/a/b/c/d.gif
これはよくあるシナリオなので、本当にイライラします。