server

server is an app to response request.


example of the httpserver


how to use httpserver.java

1. javac -d '{classDir}' '{httpserver.java path}'
2. java -cp '{classDir}' httpserver '{rootDir}'
3. go to 'http://localhost:8080/*'.

if the response Content-Type must not be null, add the argument to 2.
java -cp '{classDir}' httpserver '{rootDir}' css[text/css]js[text/javascript]