Can we call destroy() method inside the init() method? What
happens when we do so?
Answer Posted / sunny
Yes you can call init method in destroy.
public void destroy(){
try {
init();
}
catch(Exception e){
}
}
| Is This Answer Correct ? | 11 Yes | 25 No |
Post New Answer View All Answers
How can an existing session be invalidated?
Describe the phases of servlet lifecycle?
What is the difference between the include() and forward() methods?
Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
Explain servlet.
Difference between forward() method and sendredirect() method ?
What are the functions of an intercepting filter?
Where do you define dispatcherservlet?
How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255
What is servlet mapping?
Why is http protocol called as a stateless protocol?
Why do you use session tracking in httpservlet?
How can a servlet be used to generate plain text instead of html?
What are the objects involved when a servlet receives a call from client?