Skip to content

Instantly share code, notes, and snippets.

@joshlong
Created February 6, 2013 21:36
Show Gist options
  • Save joshlong/4726096 to your computer and use it in GitHub Desktop.
Save joshlong/4726096 to your computer and use it in GitHub Desktop.
this demonstrates how to setup Spring MVC with the absolute basic minimum requirements using Spring MVC 3.1+-style java configuration
package org.springsource.examples.spring31.web.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.*;
@Configuration
@EnableWebMvc
public class WebMvcConfiguration {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment