Explain lifecycle methods.

Answer

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.

All jsp Questions

Ask your interview questions on jsp

Write Your comment or Questions if you want the answers on jsp from jsp Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---