Back to the 2025 paper

Module III: Basics of Web Programming

20252m

Which technology is used for server-side scripting?

(i) HTML
(ii) CSS
(iii) JSP
(iv) JavaScript

Worked SolutionAI Assisted

Correct Answer: (iii) JSP

Explanation:

  • JSP (JavaServer Pages) is a server-side technology that allows developers to insert Java code into HTML templates to generate dynamic web content on the server before sending it to the client.
  • HTML and CSS are purely client-side markup and styling languages rendered directly by the browser.
  • JavaScript historically runs as a client-side scripting language in the browser (unless explicitly executed on a runtime like Node.js).

How JSP Works on Server:

  1. Client requests a .jsp file.
  2. The web server translates JSP into a Java Servlet (.java).
  3. The servlet is compiled into bytecode (.class) and executed.
  4. The generated HTML response is sent back to the client.

Similar questions

Official AppAndroid App

PYQDeck for Android

Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.