16 lines
375 B
Java
16 lines
375 B
Java
package org.baeldung.config;
|
|
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
import org.springframework.context.annotation.Configuration;
|
|
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
|
|
|
|
@EnableWebMvc
|
|
@Configuration
|
|
@ComponentScan({ "org.baeldung.controller" })
|
|
public class MvcConfig {
|
|
|
|
public MvcConfig() {
|
|
super();
|
|
}
|
|
|
|
} |