created http server and new thread
This commit is contained in:
15
src/main.java
Normal file
15
src/main.java
Normal file
@@ -0,0 +1,15 @@
|
||||
public class main {
|
||||
public static void main(String[] args) {
|
||||
Thread mythread = new Thread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
new Webserver().startserver();
|
||||
}
|
||||
});
|
||||
mythread.start();
|
||||
System.out.println("thread started");
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user