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.
The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.
Project Files:
File Name | Size |
---|---|
readme.txt | 217 |
HTTPSrvr.jcd | 5141 |
HTTPSrvr.jcp | 967 |
HTTPSrvr.jcu | 296 |
HTTPSrvr.jcw | 259 |
HTTPSMain.class | 993 |
HTTPSServer.class | 928 |
HTTPSSession.class | 5890 |
codeToHTML.html | 19201 |
index.html | 130 |
HTTPSMain.java | 527 |
HTTPSServer.java | 666 |
HTTPSSession.java | 7256 |
src_httpsrvr.txt | 155 |