first nosql version
[jabaws.git] / webservices / compbio / nosql / WebContent / ReportLength.jsp
diff --git a/webservices/compbio/nosql/WebContent/ReportLength.jsp b/webservices/compbio/nosql/WebContent/ReportLength.jsp
new file mode 100644 (file)
index 0000000..0f20353
--- /dev/null
@@ -0,0 +1,28 @@
+<%@page import="java.util.ArrayList"%>
+<%@ page trimDirectiveWhitespaces="true" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
+<%@ taglib uri="http://displaytag.sf.net" prefix="dt" %>
+
+<h3>Time execution for the interval: ${data1}  -  ${data2}</h3> 
+<table border="1" style = "border-collapse: collapse; white-space: nowrap"> 
+<thead>
+<tr>
+<th style="text-align: centre">Date</th>
+<th style="text-align: centre">less then 1s</th>
+<th style="text-align: centre">less then 10s</th>
+<th style="text-align: centre">less then 20s</th>
+<th style="text-align: centre">more then 20s</th>
+</tr>
+</thead>
+<tbody>
+<c:forEach items="${result}" var="res">
+<tr>
+<td>${res.date}</td>
+<c:forEach items="${res.timeRez}" var="time">
+<td>${time}</td>
+</c:forEach>
+</c:forEach>
+</tbody>
+</table>