Spring MVC Example

Spring MVC Example Commit Details

Date:2011-09-22 20:03:25 (14 years 6 months ago)
Author:Michael Ahlberg
Branch:master
Commit:3d39032d1dcf350c71a490c9d8755f8ba4349a89
Parents: 3696887cce4da0c14c10695e7878c1420e52ad53
Message:Reformatted web.xml

Changes:
Msrc/main/webapp/WEB-INF/web.xml (5 diffs)

File differences

src/main/webapp/WEB-INF/web.xml
11<?xml version="1.0" encoding="ISO-8859-1"?>
22<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
4    version="2.4">
3    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
54    <context-param>
65        <param-name>contextConfigLocation</param-name>
...... 
1211    <filter>
1312        <filter-name>characterEncodingFilter</filter-name>
14        <filter-class>
15            org.springframework.web.filter.CharacterEncodingFilter</filter-class>
13        <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
1614        <init-param>
1715            <param-name>encoding</param-name>
1816            <param-value>UTF-8</param-value>
...... 
3129    <filter>
3230        <filter-name>JPA Filter</filter-name>
33        <filter-class>
34            org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter</filter-class>
31        <filter-class>org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter</filter-class>
3532    </filter>
3633    <filter-mapping>
3734        <filter-name>JPA Filter</filter-name>
...... 
4138    <listener>
42        <listener-class>
43            org.springframework.web.context.ContextLoaderListener</listener-class>
39        <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
4440    </listener>
...... 
6258    <servlet>
6359        <servlet-name>Spring MVC Dispatcher Servlet</servlet-name>
64        <servlet-class>
65            org.springframework.web.servlet.DispatcherServlet</servlet-class>
60        <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
6661        <init-param>
6762            <param-name>contextConfigLocation</param-name>
6863            <param-value></param-value>

Archive Download the corresponding diff file

Branches