This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.inflinx.springmvc.config; | |
| import org.springframework.context.MessageSource; | |
| import org.springframework.context.annotation.Bean; | |
| import org.springframework.context.annotation.ComponentScan; | |
| import org.springframework.context.annotation.Configuration; | |
| import org.springframework.context.support.ResourceBundleMessageSource; | |
| import org.springframework.web.servlet.ViewResolver; | |
| import org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer; | |
| import org.springframework.web.servlet.config.annotation.EnableWebMvc; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.inflinx.springmvc.config; | |
| import javax.servlet.Filter; | |
| import org.sitemesh.config.ConfigurableSiteMeshFilter; | |
| import org.springframework.web.filter.CharacterEncodingFilter; | |
| import org.springframework.web.filter.HiddenHttpMethodFilter; | |
| import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer; | |
| public class SpringMvcApplicationInitializer extends AbstractAnnotationConfigDispatcherServletInitializer { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>com.inflinx.samples</groupId> | |
| <artifactId>springmvc-base</artifactId> | |
| <version>1.0.0-SNAPSHOT</version> | |
| <name>springmvc-base</name> | |
| <packaging>war</packaging> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <dependency> | |
| <groupId>org.slf4j</groupId> | |
| <artifactId>slf4j-api</artifactId> | |
| <version>${slf4j.version}</version> | |
| <scope>compile</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>ch.qos.logback</groupId> | |
| <artifactId>logback-classic</artifactId> | |
| <version>${logback.version}</version> |