ITPEC FE Morning October 2018 Question 9
ITPEC FE Morning October 2018 — Question 9 of 80
Java Servlet — a server-side Java program that runs on a web server to handle HTTP requests and generate dynamic content.
A servlet is a Java class that runs inside a web server (e.g., Apache Tomcat). It receives HTTP requests, processes them (e.g., queries a database), and returns dynamic responses such as HTML pages or JSON data.
Why not others:
- (a) Java applet — a client-side Java program that runs inside the user's web browser, not on the server.
- (c) JavaScript — a client-side scripting language executed in the browser (though Node.js runs server-side, the traditional and exam-relevant meaning is client-side).
- (d) VBScript — a client-side scripting language (Microsoft) that runs in the browser, not on the server.
Key rule: Servlet = server-side; applet, JavaScript, VBScript = client-side.
AI-generated — may contain errors
The original exam layout is preserved in the image so diagrams, formulas, tables, and code remain accurate.
This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official FE past-paper collection or Report an issue.