How long do servlets last?

Answer Posted / janet

once activated,servlets live on until the server lives or
until the destroy method is called on the servlet by the server.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the dispatcher servlet?

491


What do you mean by a filter and how does it work?

522


What are the uses of servlet and what is servlet chaining?

538


hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code

2254


What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?

584






Are Servlets Thread Safe? How to achieve thread safety in servlets?

536


What are the key methods that are involved in processing of http servlets?

600


What do you mean by annotations in servlet?

566


What is the difference between get and post methods?

577


What are the different types of servlets?

500


How do you invoke a Servlet? What is the difference between doPost method and doGet method?

621


What methods do you use in servlet - applet communication?

559


What is a servlet-to-servlet communcation?

619


If some new data has entered the database, explain how can a servlet refresh automatically?

709


What is the use of welcome-file-list?

552