commit
ef29b41604
|
@ -28,6 +28,11 @@
|
||||||
<artifactId>aspectjweaver</artifactId>
|
<artifactId>aspectjweaver</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.tomcat.embed</groupId>
|
||||||
|
<artifactId>tomcat-embed-jasper</artifactId>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<!-- Spring Security -->
|
<!-- Spring Security -->
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Metric Graph</title>
|
<title>Metric Graph</title>
|
||||||
|
@ -10,7 +11,7 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
function drawChart() {
|
function drawChart() {
|
||||||
$.get("http://localhost:8080/spring-security-rest-full/metric-graph",
|
$.get("<c:url value="/metric-graph"/>",
|
||||||
function(mydata) {
|
function(mydata) {
|
||||||
|
|
||||||
var data = google.visualization.arrayToDataTable(mydata);
|
var data = google.visualization.arrayToDataTable(mydata);
|
||||||
|
|
Loading…
Reference in New Issue