Computer Applications

Thursday, December 24, 2009

Life Cycle of a Java Server Page

   A JSP page services requests as a servlet.When a request is mapped to a JSP page, it is handled by a special servlet that first checks whether the JSP page's servlet is older than the JSP page. If it is, it translates the JSP page into a servlet class and compiles the class. 

  Template data is transformed into code that will emit the data into the stream that returns data to the client.Directives are used to control how the Web container translates and executes the JSP page.If an error occurs while the page is being translated, the server will return a ParseException, and the servlet class source file will be empty or incomplete.

  

No comments:

Post a Comment