whats the life cycle of jsp

Answers were Sorted based on User's Feedback



whats the life cycle of jsp ..

Answer / 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

whats the life cycle of jsp ..

Answer / ravi

jspinit();
jspservice();
jspdestroy();

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More Core Java Interview Questions

Why should we create an object? what is a need of it? Apart from access members of a class i want what is a need of object what does it contain?? In normal class to access any member of thaht class we create object where as for static class we access its members using class name. what is a difference between them... thanks in advance.

1 Answers  


what is struts-config-xml?and its use?

3 Answers  


What does s mean in regex?

0 Answers  


why java does not have operator overloading?

2 Answers  


Can we add default constructor to Servlet?

1 Answers   Fidelity,






What is string syntax?

0 Answers  


explain about method overloading and method overriding with difficult examples

4 Answers  


Which is fastest collection in java?

0 Answers  


Break statement can be used as labels in java?

0 Answers  


Can we override protected method in java?

0 Answers  


What are the super most classes for all the streams?

0 Answers  


where lives in jvm

5 Answers  


Categories