Question: how are jsp pages compiled?
Answer: The JSP engine loads the JSP page from disk and converts it into a servlet content. ... The JSP engine compiles the servlet into an executable class and forwards the original request to a servlet engine. A part of the web server called the servlet engine loads the Servlet class and executes it.