diff --git a/tomcat/webapps/Trawl/histogram.jsp b/tomcat/webapps/Trawl/histogram.jsp index db3beba9d2de8e8a9c96f9c719c9beffb2cae702..16c0c76483cc5700f5c480433f51e1c8cb070217 100644 --- a/tomcat/webapps/Trawl/histogram.jsp +++ b/tomcat/webapps/Trawl/histogram.jsp @@ -20,12 +20,10 @@ out.print("var y=[];"); out.print("var x=[];"); for (Integer year: results){ - out.print("y.push("+ histogram.get(year) +");"); - out.print("x.push('"+ year +"');"); + out.print("\ty.push("+ histogram.get(year) +");\n"); + out.print("\tx.push('"+ year +"');\n"); } - - out.print((String) request.getAttribute("url")); - + %> var data = [ diff --git a/tomcat/work/Catalina/localhost/Trawl/org/apache/jsp/histogram_jsp.java b/tomcat/work/Catalina/localhost/Trawl/org/apache/jsp/histogram_jsp.java index 744cf447faaba43ac46c733dc122dc48403ea3ca..9d7c404ea028dbd1558b63b80dc0167ee5ba89ed 100644 --- a/tomcat/work/Catalina/localhost/Trawl/org/apache/jsp/histogram_jsp.java +++ b/tomcat/work/Catalina/localhost/Trawl/org/apache/jsp/histogram_jsp.java @@ -1,7 +1,7 @@ /* * Generated by the Jasper component of Apache Tomcat * Version: Apache Tomcat/9.0.6 - * Generated at: 2018-03-28 13:19:07 UTC + * Generated at: 2018-03-28 13:37:40 UTC * Note: The last modified time of this file was set to * the last modified time of the source file after * generation to assist with modification tracking. @@ -146,12 +146,10 @@ public final class histogram_jsp extends org.apache.jasper.runtime.HttpJspBase out.print("var y=[];"); out.print("var x=[];"); for (Integer year: results){ - out.print("y.push("+ histogram.get(year) +");"); - out.print("x.push("+ year +");"); + out.print("\ty.push("+ histogram.get(year) +");\n"); + out.print("\tx.push('"+ year +"');\n"); } - - out.print((String) request.getAttribute("url")); - + out.write("\r\n"); out.write("\r\n"); diff --git a/tomcat/work/Catalina/localhost/Trawl/org/apache/jsp/index_jsp.java b/tomcat/work/Catalina/localhost/Trawl/org/apache/jsp/index_jsp.java index 0adee565d99e63390587ac830b6b98b4d30e7c52..6f73300ee84ffe31d7212378ded43af9d3d04ed6 100644 --- a/tomcat/work/Catalina/localhost/Trawl/org/apache/jsp/index_jsp.java +++ b/tomcat/work/Catalina/localhost/Trawl/org/apache/jsp/index_jsp.java @@ -1,7 +1,7 @@ /* * Generated by the Jasper component of Apache Tomcat * Version: Apache Tomcat/9.0.6 - * Generated at: 2018-03-28 13:10:15 UTC + * Generated at: 2018-03-28 13:32:09 UTC * Note: The last modified time of this file was set to * the last modified time of the source file after * generation to assist with modification tracking.