System.setProperty(IHttpExchange.SHOW_DETAILED_ERROR_KEY, "true");
String basePath = this.getClass().getResource("").getFile();
File testFile = new File(basePath + File.separator + "werewrewrewrewr.bin");
FileWriter fw = new FileWriter(testFile);
fw.write("ewrdfsdfsfsfdsfds");
fw.close();
// start xSocket
Context ctx = new Context("");
ctx.addHandler("/site/*", new FileServiceRequestHandler(basePath, true));
ctx.addHandler("/rpc/*", new MyBusinessHandler());