what is the life cycle of jsp?

Answer Posted / vasanth

Actually the said( jspInit(),_jspService(), jspDestroy())
methods are not JSP life cycle methods, they are convinience
methods. bcz when we run above said methods, internally
servlts life cycle methods also runned., they must take the
support of servlets.

so, init(), service(), destroy() methods are the real life
cycle methods of JSP and jspInit(), _jspService(),
jspDestroy() are the convinience methods.... f

if you want to knw full clarification of above said
scenaria, just the open super class source code that is
available in jasper.jar file..

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are assembly attributes?

549


What are the two ways in which thread can be created?

604


What is the instance of an object?

559


Is ++ operator thread-safe in java?

638


What an i/o filter in java programming?

608






What is a pattern what is an anti pattern?

512


What is ph and buffers?

524


Why is a singleton bad?

560


Can we override constructors in java?

682


What is scope & storage allocation of static, local and register variables? Explain with an example.

572


What is java util collection?

561


How big is a pointer?

557


Why is java logo a cup of coffee?

627


What is the difference between an object-oriented programming language and object-based programming language?

578


How many bytes is a string?

570