diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-01-09 20:32:40 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-01-09 20:32:40 +1300 |
commit | f0b99fd68cb3b6b484d50c1f9ebc0e77997fd2dd (patch) | |
tree | cd9beb89c07dbeacbb26d9df8a1a42502d206c74 /war | |
parent | a7c6a5f03c0ac94603b5238c59a275a239d16b73 (diff) | |
download | trackermap-web-f0b99fd68cb3b6b484d50c1f9ebc0e77997fd2dd.tar.gz trackermap-web-f0b99fd68cb3b6b484d50c1f9ebc0e77997fd2dd.tar.bz2 trackermap-web-f0b99fd68cb3b6b484d50c1f9ebc0e77997fd2dd.zip |
Completely rewritten project
Diffstat (limited to 'war')
-rw-r--r-- | war/WEB-INF/web.xml | 18 | ||||
-rw-r--r-- | war/traccar.html | 19 |
2 files changed, 37 insertions, 0 deletions
diff --git a/war/WEB-INF/web.xml b/war/WEB-INF/web.xml new file mode 100644 index 00000000..64ce4007 --- /dev/null +++ b/war/WEB-INF/web.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee + http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" + version="2.5" + xmlns="http://java.sun.com/xml/ns/javaee"> + + <servlet> + <servlet-name>dataService</servlet-name> + <servlet-class>org.traccar.web.server.model.DataServiceImpl</servlet-class> + </servlet> + + <servlet-mapping> + <servlet-name>dataService</servlet-name> + <url-pattern>/traccar/dataService</url-pattern> + </servlet-mapping> + +</web-app> diff --git a/war/traccar.html b/war/traccar.html new file mode 100644 index 00000000..2278257e --- /dev/null +++ b/war/traccar.html @@ -0,0 +1,19 @@ +<!doctype html> +<html> + <head> + <meta http-equiv="content-type" content="text/html; charset=UTF-8"> + <title>Traccar</title> + <link rel="stylesheet" type="text/css" href="traccar/reset.css" /> + <script src="http://www.openlayers.org/api/OpenLayers.js"></script> + <script src="http://www.openstreetmap.org/openlayers/OpenStreetMap.js"></script> + <script type="text/javascript" src="traccar/traccar.nocache.js"></script> + </head> + <body> + <noscript> + <div> + Your web browser must have JavaScript enabled + in order for this application to display correctly. + </div> + </noscript> + </body> +</html> |