whats the life cycle of jsp

Answers were Sorted based on User's Feedback



whats the life cycle of jsp ..

Answer / manoj

JSP page translation,
JSP page compilation,
load class,
create instance,
call the jspInit method,
call the _jspService method, and
call the jspDestroy method.

Is This Answer Correct ?    54 Yes 6 No

whats the life cycle of jsp ..

Answer / sharad kumar verma

jspinit();
_jspservice();
jspdestroy();

Is This Answer Correct ?    31 Yes 13 No

whats the life cycle of jsp ..

Answer / ravi

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

Is This Answer Correct ?    36 Yes 20 No

whats the life cycle of jsp ..

Answer / vijay.pandey

A JSP page services requests as a servlet.
The life cycle and many of the capabilities of
JSP pagesare determined by Java Servlet technology


1)JSP page translation,
2)JSP page compilation,
3)load class,
4)create instance,
5)call the jspInit method,
6)call the _jspService method, and
7)call the jspDestroy method.

Is This Answer Correct ?    13 Yes 0 No

whats the life cycle of jsp ..

Answer / maddy

JSP page translation,
JSP page compilation,
load class,
create instance,
call the jspInit method,
call the _jspService method, and
call the jspDestroy method.

Is This Answer Correct ?    14 Yes 2 No

whats the life cycle of jsp ..

Answer / prasanna

Translation
compilation
jspInit()
_jspService()
jspDestroy

Is This Answer Correct ?    15 Yes 8 No

whats the life cycle of jsp ..

Answer / cool_duzz

jspInit() from jspPage interface
_jspService() from httpJspPage Interface
jspDestroy() from jspPage interface

Is This Answer Correct ?    12 Yes 8 No

whats the life cycle of jsp ..

Answer / vivek singh

JSP’s life cycle can be grouped into following phases.

1. JSP Page Translation
2. JSP Page Compilation
3. Class Loading
4. Execution phase
5. Initialization
6. jspService() execution
7. jspDestroy() execution

Is This Answer Correct ?    5 Yes 1 No

whats the life cycle of jsp ..

Answer / amlan

1.Translation
2.Loading and Instantition
3.Service(public void _JspService())
4.public void destroy()

Is This Answer Correct ?    1 Yes 0 No

whats the life cycle of jsp ..

Answer / rohan

translation-convert jsp code into servlet code which is done
by jsp compiler
compilation-generated servlet is compile.compilation is done
by javac cmd
Loading-compiled byte code is loaded by class loader
instantiation-instance of servlet is created
initialisation-is done by jspinit()method
Request Processing-_jspService() is the method that actually
process the request
Destruction-is done by jspDestroy()method

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is nan in java?

1 Answers  


Can we override the static method?

1 Answers  


What is an off by one error in java?

1 Answers  


What's a method in programming?

1 Answers  


why we cannot declare static variable inside a static method

4 Answers  


What is the differences between heap and stack memory in java? Explain

1 Answers  


Why is singleton class used?

1 Answers  


There are 2 methods in a class. Both have the same method signature except for return types. Is this overloading or overriding or what is it?

9 Answers   KPIT,


What is the advantage of functional interface in java 8?

1 Answers  


Can java list be null?

1 Answers  


What is abstraction with strong example program? (not a general program)

3 Answers  


describe synchronization in respect to multithreading? : Java thread

1 Answers  


Categories