ViewController 추가
ViewController만 일괄로 추가할때 유용할 것 같음@Configurationpublic class WebMvcConfig implements WebMvcConfigurer {public void addViewControllers(ViewControllerRegistry registry) { registry.addViewController("/home").setViewName("home"); registry.addViewController("/").setViewName("home"); registry.addViewController("/hello").setViewName("hello"); registry.addViewController("/login").setViewName("login")..
2024.06.13