Skip to content

Commit ef29b41

Browse files
author
Eugen
committed
Merge pull request eugenp#180 from Doha2012/master
fix graph.jsp
2 parents 5cd2c3b + b380596 commit ef29b41

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

spring-security-rest-full/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@
2828
<artifactId>aspectjweaver</artifactId>
2929
</dependency>
3030

31+
<dependency>
32+
<groupId>org.apache.tomcat.embed</groupId>
33+
<artifactId>tomcat-embed-jasper</artifactId>
34+
<scope>provided</scope>
35+
</dependency>
3136

3237
<!-- Spring Security -->
3338

spring-security-rest-full/src/main/webapp/WEB-INF/view/graph.jsp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
12
<html>
23
<head>
34
<title>Metric Graph</title>
@@ -10,7 +11,7 @@
1011
});
1112
1213
function drawChart() {
13-
$.get("http://localhost:8080/spring-security-rest-full/metric-graph",
14+
$.get("<c:url value="/metric-graph"/>",
1415
function(mydata) {
1516
1617
var data = google.visualization.arrayToDataTable(mydata);

0 commit comments

Comments
 (0)