Question: a program called Webserver.java that creates a ServerSocket object and then enters an infinite loop The program should take the Socket returned by the ServerSocket's

a program called Webserver.java that creates a ServerSocket object and then enters an infinite loop The program should take the Socket returned by the ServerSocket's accept) method, create a Runnable object that uses the Socket, pass this object to a Thread, start the Thread running, and go back to waiting for another client connection The Runnable object will handle establishing the connection and serving the file. You already know what the client's handshake string looks like: GET
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
