Aim:
- To capture the HTTP protocol
- To return simple, static files on request from a browser client
- Return dynamically created HTML file
- Accept Form input from the user and do back-end processing on the server to return computed values in the dynamically created HTML file(using the appropriate MIME header)
- Use json blobs to send the data over the network from client to server and vice versa
Software Requirement: Java: java version "1.8.0_181"
Running Instructions: Run javac MyWebServer.java java MyWebServer
Open Firefox browser Enter url: http://localhost:2540/ or http://localhost:2540 to get server's root directory