This commit is contained in:
Ziver Koc 2009-04-15 19:05:12 +00:00
parent 7cb0fdb435
commit 9f839fd803
2 changed files with 47 additions and 24 deletions

View file

@ -11,8 +11,8 @@ import zutil.network.http.HttpServer;
public class HTTPGuessTheNumber implements HttpPage{
public static void main(String[] args) throws IOException{
HttpServer server = new HttpServer("localhost", 443, FileFinder.find("keySSL"), "rootroot");//SSL
//HttpServer server = new HttpServer("localhost", 80);
//HttpServer server = new HttpServer("localhost", 443, FileFinder.find("keySSL"), "rootroot");//SSL
HttpServer server = new HttpServer("localhost", 80);
server.setDefaultPage(new HTTPGuessTheNumber());
server.run();
}