Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Servlets
Search Coderanch
Advance search
Google search
Register / Login
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Servlets
calling destroy() in init() method in servlet
priyanaka jaiswal
Ranch Hand
Posts: 79
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi All,
Calling destroy() method inside init() will it destroy the
servlet
or init() method will continue it process?
Thanks in advance
Bear Bibeault
Sheriff
Posts: 67746
173
I like...
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
It will simply call the method. Why would you even wonder about doing something so nonsensical?
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
Paul Clapham
Marshal
Posts: 28193
95
I like...
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
That exact question is already in
the Ranch's Servlets FAQ
. Have a look there.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
what code will be there in init() of GenericServlet
Servlet Destroy() Method
destroy() method of servlet.
Calling destroy() inside init()
calling destroy() from init()
More...