@Override public void configureDefaultServletHandling(DefaultServletHandlerConfigurer configurer) { logger.debug("configureDefaultServletHandling"); // if the spring dispatcher is mapped to / then forward non handled // requests // (e.g. static resource) to the container's "default servlet" configurer.enable(); }
@Override public void configureDefaultServletHandling(DefaultServletHandlerConfigurer configurer) { configurer.enable(); }
@Override public void configureDefaultServletHandling(DefaultServletHandlerConfigurer configurer) { configurer.enable("front-controller"); }
@Override protected void configureDefaultServletHandling(DefaultServletHandlerConfigurer configurer) { // Ensures that dispatcher servlet can be mapped to '/' and that static resources are still // served by the containers default servlet. configurer.enable(); }
@Override // Carrega as configura��es default do Spring public void configureDefaultServletHandling(DefaultServletHandlerConfigurer configurer) { configurer.enable(); }
@Override public void configureDefaultServletHandling(DefaultServletHandlerConfigurer configurer) { // Serving static files using the Servlet container's default Servlet. configurer.enable(); }
@Override public void configureDefaultServletHandling(DefaultServletHandlerConfigurer handlerConfigurer) { handlerConfigurer.enable(); // 设置静态资源可用 }