This repository was archived by the owner on Dec 15, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 88
88
<version >1.2</version >
89
89
</dependency >
90
90
91
+ <dependency >
92
+ <groupId >org.webjars</groupId >
93
+ <artifactId >bootstrap</artifactId >
94
+ <version >3.3.1</version >
95
+ </dependency >
96
+
91
97
<!-- Apache Tiles
92
98
<dependency>
93
99
<groupId>org.apache.tiles</groupId>
252
258
<properties >
253
259
<cargo .container.id>tomcat8x</cargo .container.id>
254
260
<cargo .container.url>
255
- http://www.eu.apache.org/dist/tomcat/tomcat-8/v8.0.15 /bin/apache-tomcat-8.0.15 .zip
261
+ http://www.eu.apache.org/dist/tomcat/tomcat-8/v8.0.18 /bin/apache-tomcat-8.0.18 .zip
256
262
</cargo .container.url>
257
263
</properties >
258
264
</profile >
Original file line number Diff line number Diff line change 21
21
22
22
<mvc : resources mapping =" /static/**" location =" classpath:/static/" cache-period =" 120" />
23
23
24
+ <mvc : resources mapping =" /webjars/**" location =" classpath:/META-INF/resources/webjars/" />
25
+
24
26
</beans >
Original file line number Diff line number Diff line change 5
5
<html >
6
6
<head >
7
7
<meta http-equiv =" Content-Type" content =" text/html; charset=UTF-8" >
8
- <link rel =" stylesheet" type =" text/css" href =" <c:url value=" /static /style.css " />" >
8
+ <link rel =" stylesheet" type =" text/css" href =" <c:url value=" /static /style.css " />" >
9
+ <link rel =" stylesheet" href =" <c:url value=" /webjars /bootstrap /3.3.1 /css /bootstrap.min.css " />" />
9
10
<title >Home</title >
10
11
</head >
11
12
<body >
12
13
<h1 >Home</h1 >
14
+ <p >CSS Link: <c:url value =" /static/style.css" /></p >
15
+ <p >CSS Link webjar: <c:url value =" /webjars/bootstrap/3.3.1/css/bootstrap.min.css" /></p >
13
16
</body >
14
17
</html >
You can’t perform that action at this time.
0 commit comments