-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTest.java
More file actions
25 lines (19 loc) · 761 Bytes
/
Test.java
File metadata and controls
25 lines (19 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import com.modulecode.server.core.Application;
import com.modulecode.server.tools.ClassScanner;
import com.xg.Server;
import com.xg.ServletTest;
import javax.servlet.ServletException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Set;
public class Test {
public static void main(String[] args) throws ServletException, IOException, InstantiationException, IllegalAccessException, ClassNotFoundException {
// Server server = new Server(8888);
// ArrayList arrayList = new ArrayList();
// arrayList.add("/test");
// server.addServlet(ServletTest.class, arrayList);
// server.initServer();
Application application = new Application("server.xml");
application.start();
}
}