Merge pull request #180 from Doha2012/master

fix graph.jsp
This commit is contained in:
Eugen 2015-03-30 19:13:34 +03:00
commit ef29b41604
2 changed files with 7 additions and 1 deletions

View File

@ -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 -->

View File

@ -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);