Use webjars-locator in samples (#587)

This commit is contained in:
Vedran Pavić
2016-08-15 20:25:53 +02:00
committed by Rob Winch
parent 9f36fd69ee
commit 9133e337e6
41 changed files with 125 additions and 40 deletions

View File

@@ -2,10 +2,15 @@ apply from: JAVA_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",
"org.webjars:bootstrap:$bootstrapVersion",
"org.webjars:webjars-taglib:$webjarsTaglibVersion",
jstlDependencies
providedCompile "javax.servlet:javax.servlet-api:$servletApiVersion"

View File

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