Multiple choice java

What is invoked via HTTP on the Web server computer when it responds to requests from a user's Web browser?

  1. A Java application

  2. A Java applet

  3. A Java servlet

  4. None of the above is correct.

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

A Java servlet is a server-side component that handles HTTP requests and generates dynamic responses. While JSPs are also used, they are compiled into servlets. Java applications typically run standalone, and applets are client-side components that run in a browser, making servlets the correct server-side response mechanism.