Switch to side-by-side view

--- a/tool/src/www/WebServer.java
+++ b/tool/src/www/WebServer.java
@@ -128,6 +128,18 @@
                      ,portNumber , ex.getMessage());
       }
    }
+
+   /**
+    * stop the server in case it was already running
+    */
+    public void stopServer() {
+        try {
+            this.connection.close();
+            log.write(is.CLOSE, "Web server was closed");
+        } catch (IOException ex) {
+            Logger.getLogger(WebServer.class.getName()).log(Level.SEVERE, null, ex);
+        }
+    }
    
    class Task implements Runnable {