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 java api for xml processing (jaxp)?
What are the differences between Ear, Jar and War files? Under what circumstances should we use each one?
What are the main components of the j2ee application?
Why is java used?
What is form-based authentication?
Is java is a technology?
Why is java called technology?
What is difference between j2ee and java?
What is main method in java?
Is a relationship java?
What is callback methods?
What is enterprise information system resource?
What is event handling in java?
What are the component of java?
What is home handle?