1.Server-sideWeb Programming Lecture 5:Java Servlets and theControl-View Architecture2. The Control-View Architecture Different user input might requiredifferentresponse…