5 |
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> |
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> |
6 |
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c-rt" %> |
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c-rt" %> |
7 |
|
|
8 |
<c-rt:set var="statbeans" value="${requestScope.stats}"/> |
<c-rt:set var="statbeans" value="${requestScope.stats}"/> |
9 |
|
<c-rt:set var="top5beans" value="${requestScope.top5}"/> |
10 |
|
|
11 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
12 |
<html> |
<html> |
56 |
</tr> |
</tr> |
57 |
</c-rt:forEach> |
</c-rt:forEach> |
58 |
|
|
59 |
|
</table> |
60 |
|
|
61 |
|
<h2>Top 5 busiest</h2> |
62 |
|
<b>by non-failed departure lookups</b> |
63 |
|
<table border="1"> |
64 |
|
<tr><th width=100>Date</th><th>Station</th><th>byLocation</th><th>byName</th><th>byFavorites</th><th>Departure</th><th>depCache</th><th>depError</th><th>Timetable</th><th>timeCache</th><th>timeError</th></tr> |
65 |
|
|
66 |
|
<c-rt:forEach var="stat" items="${top5beans}"> |
67 |
|
<tr> |
68 |
|
<td>${stat.label}</td> |
69 |
|
<td>${stat.station }</td> |
70 |
|
<td>${stat.location }</td> |
71 |
|
<td>${stat.name }</td> |
72 |
|
<td>${stat.favorites }</td> |
73 |
|
<td>${stat.departure }</td> |
74 |
|
<td>${stat.depcache }</td> |
75 |
|
<td>${stat.deperror }</td> |
76 |
|
<td>${stat.timetable }</td> |
77 |
|
<td>${stat.timecache }</td> |
78 |
|
<td>${stat.timeerror }</td> |
79 |
|
</tr> |
80 |
|
</c-rt:forEach> |
81 |
|
|
82 |
|
|
83 |
</table> |
</table> |
84 |
|
|
85 |
|
|
86 |
</body> |
</body> |
87 |
</html> |
</html> |