Created
April 29, 2020 03:01
-
-
Save CheolhoJeon/bd9762ed6cb1073f5cdad5da81a597b9 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
@Configuration | |
@EnableWebMvcpublic class MvcConfig implements WebMvcConfigurer { | |
@Override | |
public void configureDefaultServletHandling(final DefaultServletHandlerConfigurer configurer) { | |
configurer.enable(); | |
} | |
@Override | |
public void configureViewResolvers(final ViewResolverRegistry registry) { | |
registry.jsp("/WEB-INF/view/", ".jsp"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment