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