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 |
In hyderabad, which s/w training center is best for java, other than corejava what r the new tools to learn in java,which tool is best & have current requirement,pls give me information about java to learn ?
when exactly should we use throws ,and wen exactly should we use the try and catch for exceptional handling
I have include a jsp page by using <jsp:include page="/.../xyz.jsp"/> The thing is that the xyz.jsp page has its submit button.When i click on that button the whole main page get refreshed.But i want to refresh only the xyz.jsp page.How could i achive it so that i can only refresh the xyz.jsp not the main page page?
who will give req's to u?. how they send req's to u? . what design documents contains?. when bugs raised on other developer code how to report to them?.(throgh mail or ........). how to retrive 100 recods from dao layer to presentation layer.using which collection?. what is sequence diagram.?.
How is hashset maintained in memory by java ?
What are the uses of the set interfaces in the java collections? : java collections
HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS
what protocols does JNDI provide an interface to?
how to delete cookie information?and when it will delete?
VSS Objectives
How to use ANT?
please mail me the interview question based on java/j2ee