Skip to content

Instantly share code, notes, and snippets.

@nareshnaredla2424
Created June 23, 2018 05:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nareshnaredla2424/b66c35efbafdc8a64843d78455dc8d92 to your computer and use it in GitHub Desktop.
Save nareshnaredla2424/b66c35efbafdc8a64843d78455dc8d92 to your computer and use it in GitHub Desktop.
package com.javabycode.config;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
@EnableWebMvc
@Configuration
@ComponentScan("com.javabycode")
public class MyWebConfig extends WebMvcConfigurerAdapter {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment