whats the life cycle of jsp

Answer Posted / minu

1.Translation Phase
2.Compilation Phase
3.Loading Creating an object
than
4.init: jspinit()
When the Jsp page is initialized,this method is
invoked.or The container that invoke the _jspinit(); method
initializs this page.
5.Service: jspservice()
The container, the _jspservice(); method is generated
and then called to handle each request.

6.Destroy: jspdestory()
when the JSP page is destoryed, the _jspdestory();
method is primarily invoked.

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is fastest collection in java?

645


What is the lifetime and scope of a variable?

629


Name and explain the types of ways which are used to pass arguments in any function in java.

675


What does business logic mean?

619


What is a stack class in java ?

707






What is an escape character in java?

636


Why are functions called methods in java?

634


What is the purpose of a default constructor?

672


Explain yield() method in thread class ?

718


When should I use singleton pattern?

640


What is use of map in java?

613


What is the use of a conditional inclusion statement in Java ?

681


How do you check if a character in a string is a digit or letter?

612


What is externalizable interface?

691


What is the Concept of Encapsulation in OOPS

639