Explain lifecycle methods.



Explain lifecycle methods...

Answer / Pratibha Yadav

"Lifecycle methods in JSP refer to the series of events that occur as a JSP page is processed, from loading and compiling the page, through executing its code, and finally releasing any resources it has acquired. The main lifecycle methods include jspInit(), _jspService(), jspDestroy()." "example: <jsp:directive.page init="jspInit()" destroy="jspDestroy()"/>"

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JSP Interview Questions

Why jsp is used instead of html?

1 Answers  


What is jsp and why is it needed?

1 Answers  


What's the difference between javabeans and taglib directives?

1 Answers  


Is jsp a front end?

1 Answers  


How are jsp(java server pages) better than asp(active server pages)?

1 Answers  


What are implicit objects?

9 Answers  


Which jsp life cycle is in correct order?

1 Answers  


Which two interfaces does the javax servlet jsp package have?

1 Answers  


Which jsp lifecycle methods can be overridden?

1 Answers  


What are JSP scripting elements?

8 Answers  


What is the purpose of jsp and why it is widely used?

1 Answers  


What are the advantages of jsp over servlet?

1 Answers  


Categories