package Ġrun . kar l . starter Ċ Ċ import Ġorg . springframework . context . annotation . Configuration Ċ import Ġorg . springframework . web . servlet . config . annotation . ViewController Registry Ċ import Ġorg . springframework . web . servlet . config . annotation . Web Mvc Configurer ĊĊ Ċ @ Configuration Ċ class ĠRoute Config Ġ: ĠWeb Mvc Configurer Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġadd View Controllers ( registry : ĠView Controller Registry ) Ġ{ ĊĠĠĠĠĠĠĠ Ġregistry . add ViewController (" /** /{ spring :\\ w + } "). setView Name (" forward :/ ") ĊĠĠĠ Ġ} Ċ } Ċ