Created
April 29, 2020 03:26
-
-
Save CheolhoJeon/b76e28970dc54eee8292dc6f9cbe90b5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 위의 설정은 내부적으로 아래와 같은 설정으로 빈을 등록 | |
@Bean | |
public ViewResolver viewResolver() { | |
InternalResourceViewResolver vr = new InternalResourceViewResolver(); | |
vr.setPrefix("/WEB-INF/view"); | |
vr.setSuffix(".jsp"); | |
return vr; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment