Explain JSP life cycle?
Answers were Sorted based on User's Feedback
Answer / qim2010
• Pre-translated: Before the JSP file has been translated
and compiled into the Servlet.
• Translated: The JSP file has been translated and compiled
as a Servlet.
• Initialized: Prior to handling the requests in the service
method the container calls the jspInit() to initialize the
Servlet. Called only once per Servlet instance.
• Servicing: Services the client requests. Container calls
the _jspService() method for each request.
• Out of service: The Servlet instance is out of service.
The container calls the jspDestroy() method.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / suresh s.a.
Life Cycle for JSP is
1.jspinit(),
2._jspService() and
3.jspdestroy().
jspService() method cant be override so why there is an
underscore before the method name.
Is This Answer Correct ? | 3 Yes | 0 No |
How many controlers are there in spring? Plz send me ans
What is iterator in the java collections framework? : java collections
How do you debug your java program?
what is java virtual machine
What is the enumerator of the java collection framework? : java collections
my interviewer asked me what technical specification you used how to answer that question
httt method
How to implement or use the singleton class in java?
What is Generic in java? Where can we write Generic ( class or method or objects or etc...)? with simple example? Thanks, Bose. Infosys 2 In which way does a Primitive data type is passed ? Sun- Microsystems 4 what is the use of declaring constructor as private? Sai- Softech 5 what is difference between global methods and local methods? 1 What is meant by class loader and how many types are there? Apple 1 what is meaning of JIT? 4 What is an abstract class? Wipro 5 what is filters and its use? Virtusa 2 why is multiple inheritance not allowed in java? Elementus-Technologies 7 Differences between jdk 1.4 and 1.5 Wipro 4 is JVM platform dependent or independent..? IBM 6 what is main purpose of abstract class? 5 what is difference between colection and collections? Tech-Mahindra 11 What error occurs if a try-catch-finally statement sequence does not have a catch clause? 2 Explain the difference between scrollbar and scrollpane? 1 Explain the differences between public, private, protected and static? 4 Explain the difference between getAppletInfo and getParameterInfo? 1 Is Cegonsoft Pvt.Ltd. a good Institute? 4 Why only one Class is public in one file? Explain in details. Thanks in Advance. 11 Which method will get invoked first in a stand alone application?
what is the difference between banking and insurance domain?
What do you understand by synchronization? Why is it important?
What are the types of the main implementing classes in the map interfaces? : java collections