From b38059665d7b2346fe998daad7010dbf0f2377d1 Mon Sep 17 00:00:00 2001 From: DOHA Date: Mon, 30 Mar 2015 18:03:41 +0200 Subject: [PATCH] fix graph.jsp --- spring-security-rest-full/pom.xml | 5 +++++ .../src/main/webapp/WEB-INF/view/graph.jsp | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/spring-security-rest-full/pom.xml b/spring-security-rest-full/pom.xml index 664e47bb1f..05a7f1285f 100644 --- a/spring-security-rest-full/pom.xml +++ b/spring-security-rest-full/pom.xml @@ -28,6 +28,11 @@ aspectjweaver + + org.apache.tomcat.embed + tomcat-embed-jasper + provided + diff --git a/spring-security-rest-full/src/main/webapp/WEB-INF/view/graph.jsp b/spring-security-rest-full/src/main/webapp/WEB-INF/view/graph.jsp index a1a8050201..cb037f5f6c 100644 --- a/spring-security-rest-full/src/main/webapp/WEB-INF/view/graph.jsp +++ b/spring-security-rest-full/src/main/webapp/WEB-INF/view/graph.jsp @@ -1,3 +1,4 @@ +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> Metric Graph @@ -10,7 +11,7 @@ }); function drawChart() { - $.get("http://localhost:8080/spring-security-rest-full/metric-graph", + $.get("", function(mydata) { var data = google.visualization.arrayToDataTable(mydata);