--- /dev/null
+
+<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+ <head>
+ <title>KiSS Crawler overview page</title>
+
+ <meta http-equiv="pragma" content="no-cache">
+ <meta http-equiv="cache-control" content="no-cache">
+ <meta http-equiv="expires" content="0">
+ <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
+ <meta http-equiv="description" content="This is my page">
+
+ <!--
+ <link rel="stylesheet" type="text/css" href="styles.css">
+ -->
+ </head>
+
+ <body>
+ <h1>KiSS Crawler Overview</h1>
+
+ <TABLE border="1">
+ <tr>
+ <td>
+ Currently running:
+ </td>
+ <td>
+ <c:out value="${running}"/>
+ </td>
+ </tr>
+ <c:if test="${lastReport != null}">
+ <tr>
+ <td>
+ Last executed at:
+ </td>
+ <td>
+ <c:out value="${lastExecuted}"/>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ Last result:
+ </td>
+ <td>
+ <c:out value="${lastResult}"/>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ Last message:
+ </td>
+ <td>
+ <c:out value="${lastMessage}" escapeXml="false"/>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ Last report:
+ </td>
+ <td>
+ <a href="?details=1">details</a>
+ </td>
+ </tr>
+ </c:if>
+ </TABLE>
+ <c:if test="${!running}">
+ <FORM action="runnow">
+ <INPUT type="submit" name="runnow" value="Run Crawler as soon as possible">
+ </FORM>
+ </c:if>
+ </body>
+</html>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.4"
+ xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+ http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+ <listener>
+ <listener-class>org.wamblee.crawler.kiss.servlet.Application</listener-class>
+ </listener>
+
+ <servlet>
+ <servlet-name>CrawlerServlet</servlet-name>
+ <servlet-class>org.wamblee.crawler.kiss.servlet.CrawlerServlet</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>CrawlerServlet</servlet-name>
+ <url-pattern>/</url-pattern>
+ </servlet-mapping>
+</web-app>