InterviewSolution
| 1. |
How does JSP processing take place? |
|
Answer» The JSP page is TURNED into a servlet for all the JSP elements to be processed by the server. Then the servlet is executed. The servlet container and the JSP container—are OFTEN combined into one package under the name “web container”. In the translation phase, the JSP container is responsible for converting the JSP page into a servlet and COMPILING the servlet. This is used to automatically initiate the translation phase for a page when the first request for the page is received. In the “request processing” phase, the JSP container is also responsible for INVOKING the JSP page implementation class to process each request and GENERATE the response. |
|