new startup message
This commit is contained in:
parent
6c3e4cece2
commit
4d7792c469
@ -28,7 +28,7 @@ public class MySQLConnector extends Database {
|
||||
password);
|
||||
|
||||
} catch (SQLException e) {
|
||||
e.printStackTrace();
|
||||
System.err.println("no connection to database! start database server");
|
||||
}
|
||||
|
||||
return con;
|
||||
|
@ -1,6 +1,5 @@
|
||||
package db;
|
||||
|
||||
import javax.swing.table.DefaultTableModel;
|
||||
import java.sql.Connection;
|
||||
import java.sql.PreparedStatement;
|
||||
import java.sql.ResultSet;
|
||||
|
@ -23,6 +23,7 @@ public class Webserver {
|
||||
|
||||
server.setExecutor(null); // creates a default executor
|
||||
server.start();
|
||||
System.out.println("Server available at http://127.0.0.1:8000 now");
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user