File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
Servlets
Author
calling destroy() in init() method in servlet
priyanaka jaiswal
Ranch Hand
Joined: Jun 03, 2011
Posts: 76
posted
Jul 27, 2012 11:36:25
0
Hi All,
Calling destroy() method inside init() will it destroy the
servlet
or init() method will continue it process?
Thanks in advance
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56192
13
I like...
posted
Jul 27, 2012 11:44:04
0
It will simply call the method. Why would you even wonder about doing something so nonsensical?
[
Smart Questions
] [
JSP FAQ
] [
Books by Bear
] [
Bear's FrontMan
] [
About Bear
]
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16483
2
I like...
posted
Jul 27, 2012 11:45:35
0
That exact question is already in
the Ranch's Servlets FAQ
. Have a look there.
I agree. Here's the link:
http://aspose.com/file-tools
subject: calling destroy() in init() method in servlet
Similar Threads
calling destroy() from init()
Calling destroy() inside init()
destroy() method of servlet.
what code will be there in init() of GenericServlet
Servlet Destroy() Method
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter