whats the life cycle of jsp

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create an immutable class?

564


What is hashmap and map?

549


Can you call a method in a method?

526


what happens when a thread cannot acquire a lock on an object? : Java thread

534


What is the maximum size of array in java?

510






Which collection is best for sorting in java?

689


What is meant by 'bit masking' in java?

642


What is the difference between the file and randomaccessfile classes?

528


How does hashset work in java?

561


What is ternary operator? Give an example.

593


Define Multiprogramming and Multiprocessing in java.

574


What is the difference between menuitem and checkboxmenu item?

771


Difference between final and effectively final ? Why is effectively final even required ?

549


Where is the singleton class used?

579


What is mnemonic code?

535