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


Please Help Members By Posting Answers For Below Questions

Why is java robust?

657


What is the concept of connection pooling?

545


What is content?

568


What is java developer job description?

480


What is filter chain?

533






What is jaxr client?

525


What is home interface?

514


What is j2ee stand for?

492


whay java does not support bass by reference

2356


Define the struts in the j2ee framework?

505


What are the tools in java?

465


What is authorization constraint?

546


How many types of modules is defined by j2ee specification?

482


What is java listener?

500


Is java an assembly language?

481