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

What is repaint in java?

684


Describe the ear, war, and jar.

702


I Want build and release interview questions

3321


What is java j2ee developer?

660


Describe orm?

736


Is java is fully object oriented?

729


Difference between save and saveorupdate?

708


What is the J2EE module?

806


What is mean by connection pooling?

732


What is javaserver pages (jsp)?

706


What is interpreter in java?

634


What is use of final keyword in java?

706


What is j2ee tutorial?

700


What is j2ee called now?

688


Is java a high level language?

766