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 |
What is the use of log4j and how to make use of that in a application?
What is Visual Source Safe(source control Tool)?
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 deque in the java collections framework? : java collections
whatis arguments &what is default argument
Which java collection class can be used to maintain the entries in the order in which they were last accessed?
What is difference between Application Server and Web Server?
What causes Out of Memory exception?
what is hibernate ceteria ?
Difference b/w >> and >>> ?
what is difference between struts1.2 and struts2.0
VSS Objectives