can i call init() method in destroy() method of servlset. ?
Answer Posted / suresh
when the sevlet is load the class files,in this time to call
init() method is called
destroy method used to the servlet remove from the memory
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
What are the difference between session and cookies in servlet? Explain
what is multiple server?
Define declaration.
Which event is fired at the time of setting, getting or removing attribute from application scope?
What is the difference between sendredirect() and forward() in a servlet?
How we can get ip address of client in servlet?
What are the disadvantages of storing session state in cookies?
Is servlet a server side scripting language?
What are the different methods involved in generic servlet?
How can a servlet be used to generate plain text instead of html?
Difference between doget and dopost?
What is the process to implement doget and dopost methods?
What are session variable in servlets?
What are its drawbacks of cgi?
Tell us something about servletcontext interface.