Fix broken samples (#606)

This commit is contained in:
Vedran Pavić
2016-09-02 20:44:17 +02:00
committed by Rob Winch
parent 3e293e8b54
commit 8db7d394ba
34 changed files with 56 additions and 95 deletions

View File

@@ -1,11 +1,7 @@
apply from: JAVA_GRADLE
apply from: TOMCAT_6_GRADLE
apply from: TOMCAT_7_GRADLE
apply from: SAMPLE_GRADLE
configurations {
compile.exclude group: 'org.slf4j', module: 'slf4j-api'
}
dependencies {
compile project(':spring-session-data-redis'),
"org.springframework:spring-web:$springVersion",

View File

@@ -23,8 +23,8 @@
<filter-mapping>
<filter-name>springSessionRepositoryFilter</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>ERROR</dispatcher>
<dispatcher>REQUEST</dispatcher>
<dispatcher>ERROR</dispatcher>
</filter-mapping>
<!-- end::springSessionRepositoryFilter[] -->

View File

@@ -4,7 +4,8 @@
<html lang="en">
<head>
<title>Session Attributes</title>
<link rel="stylesheet" href="<wj:locate path="bootstrap.min.css" relativeTo="META-INF/resources"/>">
<wj:locate path="bootstrap.min.css" relativeTo="META-INF/resources" var="bootstrapCssLocation"/>
<link rel="stylesheet" href="<c:url value="${bootstrapCssLocation}"/>">
<style type="text/css">
body {
padding: 1em;