Explain lifecycle methods.

Report
Question
22 views

Please explain why do you think this question should be reported?

Report Cancel

1) jsplnit(): The container calls this to initialize servlet instance. It is called only once for the servlet instance and preceded every other method.

2) _jspService(): The container calls this for each request and passes it on to the objects.

3) jspDestroy(): It is called by the container just before destruction of the instance

Please follow and like us:

About the Author