/[projects]/android/DroidRadarService/WebContent/ViewDroidLocations.jsp
ViewVC logotype

Annotation of /android/DroidRadarService/WebContent/ViewDroidLocations.jsp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 279 - (hide annotations) (download)
Tue Aug 25 05:55:51 2009 UTC (14 years, 9 months ago) by torben
File size: 985 byte(s)
Debug/admin components for DroidRadarService
1 torben 279 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
2     <%@ page import="dk.thoerup.droidradarservice.DroidBean" %>
3     <%@ page import="java.util.List" %>
4     <%
5     List<DroidBean> droids = (List<DroidBean>) request.getAttribute("droids");
6     %>
7    
8     <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
9     <html>
10     <head>
11     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
12     <title>Droids</title>
13     </head>
14     <body>
15    
16     Debug: <a href="ResetLastupdate">Reset last update</a>
17     <br>
18    
19     <table border="1" cellspacing="0">
20     <tr><th>Imei</th><th>handle</th><th>group</th><th>latitude</th><th>longitude</th><th>lastUpdate</th></tr>
21    
22    
23     <% for(DroidBean droid : droids) { %>
24     <tr>
25     <td><%=droid.getImei() %></td>
26     <td><%=droid.getHandle() %></td>
27     <td><%=droid.getGroup() %></td>
28     <td><%=droid.getLatitude() %></td>
29     <td><%=droid.getLongitude() %></td>
30     <td><%=droid.getLastUpdate() %></td>
31     </tr>
32    
33     <%} %>
34    
35     </table>
36    
37     </body>
38     </html>

  ViewVC Help
Powered by ViewVC 1.1.20