This file contains hidden or 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
| public class WebConfig extends WebMvcConfigurerAdapter { | |
| @Resource | |
| private Environment environment; | |
| public void configureDefaultServletHandling(DefaultServletHandlerConfigurer configurer) { | |
| configurer.enable(); | |
| } | |
| public void addViewControllers(ViewControllerRegistry registry) { |
NewerOlder