what is a servlet? and explain its lifecycle methods?
Answer Posted / sunil kumar
Servlet is a server side technology which is used to process multiple requests concurrently.
servlet life cycle methods are -
1)init() - called only once at server start-up time.
2)service() - called multiple times once for each request
3)destroy() - called once at server shut-down time
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the use of jit compiler in java?
What is the best java compiler?
how to run servlet program between two computer through internet ?
What is document root?
Which compiler is used in java?
What is javaserver pages (jsp)?
Is j2ee a framework?
What is javafx java?
What is build tool in java?
Why is java more secure?
What are the modules of j2ee?
What is bean factory, have you used xmlbean factory?
What is caller principal?
What is comment?
What is java technology stack?