Description: Students are asked to design and code amulti-threading web server. The web client and server must followthe http protocol version 1.1.
Requirements: The server must store html and jpeg files. When therequested file is not available in the server, the server must sendthe appropriate message to the client.
The web server must be compatible with Chrome.
Note: I still missing the part of the requested filewhen is not available in the server,store html and jpegfiles.
This is my code:
/*
WebServer.java
*/
//package web_server;
import java.net.ServerSocket;
import java.net.Socket;
public final class WebServer {
public static void main(String argv[]) throws Exception
{
int port = 5555;
ServerSocket WebSocket = new ServerSocket(port);
while (true) {
// Listen for
PayPal Gateway not configured
PayPal Gateway not configured