通常のSpringMVCコントローラーを使用し、パス変数を使用してマッピングを要求したいと思います。
転送やリダイレクトはしたくありません。ユーザーに表示される文字列を変更するだけです。
@RequestMapping(value = "/Foo/{id}/*", method = RequestMethod.GET)
public ModelAndView getFoo(@PathVariable final String friendlyUrl) {
//how can I rewite the url that user sees ?
}
(stackoverflowで既存の質問のタイトルを変更した場合と同じ動作)