When a JSP page is compiled, what is it turned into?
-
Applet
-
Servlet
-
Application
-
Midlet
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.