Multiple choice technology programming languages

When a JSP page is compiled, what is it turned into?

  1. Applet

  2. Servlet

  3. Application

  4. Midlet

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

JSP pages are compiled into Servlets by the JSP container. The first time a JSP is requested, it is translated into a Java source file for a Servlet, then compiled into bytecode. This Servlet generates the dynamic content for subsequent requests.