1.

For what purpose destroy() method of a servlet is used?

Answer»

This method gives your servlet a chance to close database connections, halt background threads, write cookie lists or hit counts to disk, and perform other such cleanup activities.



Discussion

No Comment Found