new startup message

This commit is contained in:
Lukas-Heiligenbrunner 2019-10-02 19:16:58 +02:00
parent 6c3e4cece2
commit 4d7792c469
3 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ public class MySQLConnector extends Database {
password); password);
} catch (SQLException e) { } catch (SQLException e) {
e.printStackTrace(); System.err.println("no connection to database! start database server");
} }
return con; return con;

View File

@ -1,6 +1,5 @@
package db; package db;
import javax.swing.table.DefaultTableModel;
import java.sql.Connection; import java.sql.Connection;
import java.sql.PreparedStatement; import java.sql.PreparedStatement;
import java.sql.ResultSet; import java.sql.ResultSet;

View File

@ -23,6 +23,7 @@ public class Webserver {
server.setExecutor(null); // creates a default executor server.setExecutor(null); // creates a default executor
server.start(); server.start();
System.out.println("Server available at http://127.0.0.1:8000 now");
} }