Multiple choice

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

Java servlets run on the web server and respond to HTTP requests. They are the server-side counterpart to applets. Option A is incorrect because standalone Java applications aren't invoked via HTTP, and B is wrong because applets run client-side in browsers, not on servers.