Can I override destroy() method of Servlets?

Answer Posted / vinod

yes we can do it

Is This Answer Correct ?    13 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the importance of init() method in Servlet ?

598


What are advantages of servlets over cgi?

642


What is cgi and what are its drawbacks?

560


What is servlet initializer?

514


I have a requirement Here we have a ResultSet object that will contain 50 records i need to print those recors in to a webpage(i.e; view according to MVC architectures that mybe servlet or jsp) . Here i need to print the records 10 per page that is 1 to 10 in page one and 11 to 20 in page two like remaining will be appeared in other pages we need to display those page numbers whenever we click on that page number we will go to that page and display 10 records like we will display 5 pages it is like this << 1 2 3 4 5 next >>

2538






What is the use of request dispatcher interface?

573


Why is http protocol called as a stateless protocol?

541


What are the types of servlets? Explain

682


How to find whether a parameter exists in the request object?

673


Describe in brief RequestDespatcher?

602


What is http servlet? Explain with the help of an example.

589


Write a simple servlet program to print the contents of html.

561


Explain the difference between servletconfig and servletcontext in servlet?

581


What is the use of welcome-file-list?

580


What are the advantages of servlets over traditional cgi?

636