Multiple choice

A JSP is transformed into a(n):

  1. Java applet.

  2. Java servlet.

  3. Either 1 or 2 above.

  4. Neither 1 nor 2 above.

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

JSP (JavaServer Pages) pages are translated into Java servlets by the web container at runtime or during deployment. This servlet generates the dynamic content that gets sent to the client. The servlet container handles this compilation process automatically.