what is a servlet? and explain its lifecycle methods?

Answer Posted / nitin singh

Servlets are java programming language classes that
dynamically process requests and construct responses.These
are programs that are executed on server side and generate
response on client side.
The life cycle methods of servlet are
init(),service() and destroy().

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe action form?

533


How do I become an expert in java?

485


What is java web technologies?

510


What is meant by j2ee?

509


What are the types of j2ee clients?

516






What is javaserver pages standard tag library (jstl)?

502


Is string an object in java?

469


What does web module contain?

532


What is advance java?

512


What are the advantages of object-relational mapping (orm)?

485


Which package is imported by default in java?

546


Is advanced java and j2ee same?

477


What are the four components of j2ee application?

572


What are defined as web components?

521


What is a thin client?

585