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
Explain the difference between a web server and a web container?
Describe in brief RequestDespatcher?
What is the web server used for running the Servlets?
Whether we can get deadlock situation in servlets?
What are some advantages of storing session state in cookies?
Explain the difference between servletconfig and servletcontext in servlet?
Tell us something about servletconfig interface.
How do cookies work in servlets?
Define the servlet mapping.
What is servlet configuration?
Explain url encoding in servlet?
What’s the difference between genericservlet and httpservlet?
How do you configure a centralized error handler in servlets?
What is the disadvantage of cookies?
Can you call a jsp from the servlet?