can i call destroy() method in init() method of servlet
Answer Posted / yathirajulu
yes, we call destroy() in init(),because both are called once.
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Explain url encoding in servlet?
Why servlet is faster than jsp?
What is difference between PrintWriter and ServletOutputStream?
If some new data has entered the database, explain how can a servlet refresh automatically?
What is getservletcontext?
Explain servlet.
Can we get PrintWriter and ServletOutputStream both in a servlet?
How do we call one servlet from another servlet?
What are the advantages of Servlet over CGI?
What is meant by Servlet? What are the parameters of service method?
What is servlet looping or chaining?
What are the types of servlet?
Is that servlet is pure java object or not?
What are advantages of servlets over cgi?
What mechanisms are used by a Servlet Container to maintain session information?