set up Spring MVC environment.