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 acl(access control list)?
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 IOC in spring?
what is mean by hasing and maping in java platform and advantage?
What are the types of the main implementing classes in the map interfaces? : java collections
Is it Mandatory to map each pojo class variable with table column in Hibernate? Is there any alternative to skip some of those? Thanks in advance...
What is the use of log4j and how to make use of that in a application?
Hi frnds how to lock an user when he enter wrong credentials more than 3 time using java or j2ee tech take username and password in a bean no need to connect DB and validate give me some sample application code or links its urgent for me thanks in advance
2. Write a interface "Car" with the following methods void setName(String) String getName() void setColor(String) String getColor() void setModel(long) long getModel()
What is the use of hashcode in java ?
How do you debug your java program?
what is difference between web server and application server?