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 do you create UserTransaction Object? How do you rollback a transaction in a method?
What is an Ioc pattern? There are assemblies in .net for establishing this task, Whats the special in Java /j2ee technologies about IOC
What is a constructor?
How many controlers are there in spring? Plz send me ans
What is the use of log4j and how to make use of that in a application?
What are maps interfaces in the java collections? : java collections
Runining mutiple tomcat server in a single machine is possible Yuo wil have to duplicate configuration with different port numbers
What is the servletcontext listener and what is JspContext and page context pls tell in simple words.
"Sun Certified Java Programmer" This is one String , we need to print SCJP, write the java code dynamically? pls reply this questions
what is mean by hasing and maping in java platform and advantage?
Which sorting algorithm is used by collections.sort() in java ?
Difference b/w >> and >>> ?