can i call init() method in destroy() method of servlset. ?
Answer Posted / arulmani
init()method will be called by the webcontainer with the
servlet object by passig the ServletConfig object,when the
servlet object will be created.
destroy()method will be called by the webcontainer when
servlet object will be destroyed
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How can an existing session be invalidated?
how to link html file to sevlet file.one name is textbox,c&c++ is cheakbox,bc&mca is radio button and one submit buttonis ok why in this programme use in servelt file
Can we use threads in Servlets?
What are life cycle methods of a servlet?
What do you mean by servlet?
how the HTML data stored in web server?
Why filter is used in servlet?
What is the type of method for sending request from http server?
If some new data has entered the database, explain how can a servlet refresh automatically?
Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?
What does the term localization refer to?
What must be implemented by all servlets?
What are the different methods involved in the process of session management in servlets?
Is servlet a controller?
What is called a session?