Search Interview Questions
| More than 3000 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Interview Questions and Answers for '7thonline.com' - 1 question(s) found - Order By Rating|
|Ans. Init -> service -> destroy. |
Out of these, init and destroy are called once per servlet whereas service is called every time when a request is made to the servlet.
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  servlet Asked in 6 Companies|
|What is session tracking and how do you track a user session in servlets?|
| What is deployment descriptor ?|
What is the use of deployment descriptor ?
|Can we have multiple servlets in a web application and How can we do that ?|
|Difference between socket and servlet ?|
|What are different types of cookies ?|
|What is a Servlet Filter ?|
|What is servlet Chaining ?|
|What is a config Object?|
|What is a pageContext Object?|
|What are the phases of the JSP life cycle ?|