what is the life cycle of jsp?

Answer Posted / vijayakumar chinnasamy

jsp life cycle:
===============
1.Page translation - automatically translate the .jsp file
in .java(servlet)file
2.Compilation - automatically compile the .java(servlet)
file and create .class file .
3.Loading - load the compiled servlet into container.
4.Create instance - create instance for loaded servlet
(.java)
5.call jspInit method. (call only one time)
6.call _jspService method
7.call jspDestroy method.(call only one time)

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to override the main method?

529


What are the important features of Java 9 release?

530


What about interthread communication and how it takes place in java?

541


can used Protected Class outside Function.?

612


How to remove the trailing spaces from a string?

648






Can we force the garbage collection to run?

534


How is treeset implemented in java?

488


What is extension method in java?

559


Can I import same package/class twice?

490


What are the important features of Java 10 release?

508


Explain about transient variables in java?

636


What is function declaration?

524


Can you give names of Container classes?

1850


What is downcasting?

567


Is there any way to skip finally block of exception even if some exception occurs in the exception block?

598