JWS: The Java Webserver

(C) 2007 Ben Cantrick

2007/06/11, 0.31a - index.html substitution now working. Correct "Content-type:" header now returned. (More.)

2007/05/31, 0.3a - Modified to use a cachedThreadPool of dynamically created worker threads to process HTTP requests. (More on the Java threading APIs here for the morbidly curious.) Javadocs now made with -private so all methods are documented.

2007/03/28, 0.2a - Javadoc comments, much improved reply headers, error handling refactored, request GET method checking, System.err used, method names cleaned up.

2007/03/21, Initial

This is a minimal multithreaded webserver implemented in Java. Possibly useful for learning purposes. A test.html file is included for your testing convenience.

This code is distributed under the modified BSD license. Share and enjoy freely, just give credit where credit is due.

Source code: JWS.java

Javadocs: javadocs.html

Bugs: