URLルートuserPanel
にマップされたメソッドがあります:/user/panel
@RequestMapping(value = "/user/panel", method = RequestMethod.GET)
public final String userPanel(HttpServletRequest request, ModelMap model)
ただし、次のような別のメソッドを作成せずuserPanel
にルートを処理するメソッドも必要です。/panel
@RequestMapping(value = "/panel", method = RequestMethod.GET)
public final String panel(HttpServletRequest request, ModelMap model)
userPanel
重複を避けるために、メソッドに両方のルートを処理させる方法はありますか?