A JSP is transformed into a(n):
-
Java applet.
-
Java servlet.
-
Either 1 or 2 above.
-
Neither 1 nor 2 above.
B
Correct answer
Explanation
JSP pages are translated into Java servlets by the JSP container. The servlet is then compiled into bytecode and executed by the server. This transformation happens automatically the first time the JSP is accessed or when it's modified. Options A is incorrect because applets run on the client side, not the server.