The following java project contains the java source code and java examples used for beginner http web server. After a very long journey :), now I find the way to create what you call HTTP Server.
For Java beginner ?! you need this if you want to know how to use DataInputStream, DataOutputStream,Socket and ServerSocket.
Please, fell free to give me your comments.