JSP page life cycle - posted by Nishant
JSP page life cycle
Answer
JSP page life cycle includes 3 methods
jspInit() method
This initializes the JSP.
_jspService()
Each time a request comes to the JSP, _jspService() method is invoked, the
request is processed and response is generated.
jspDestroy()
This method is used for clean process and is called when JSP is destroyed by
the server.
JSP page life cycle - posted by Vidya Sagar
JSP page life cycle
A request from a browser is served as servlet in JSP. In this way the lifecycle
and certain capabilities of JSP are determined by a servlet.
At the time of mapping a request to a JSP, that request is handled by a special
servlet which checks the JSP’s servlet is older than the JSP. If so, the JSP is
translated into a servlet class and compiles. The build process of a web
application is done automatically, by using JSP over servlet.
More JSP Links
Answer - There are three forms of JSP scripting elements
that let you insert Java code.......
Answer - When a JSP include directive is used, the included
file's code is added into.....
Answer - A declaration consists of one or more variables or
methods that are used in JSP source.......
Answer - The JSP specification includes standard tags for bean
use and manipulation.......
|