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 Connector architecture?

507


What is a j2ee container?

580


What is the use of method saveorupdate()?

552


What is jetty in java?

507


What are the types of j2ee clients?

505






What is declaration?

569


What does the application client module contain?

494


Why is java used?

510


What is ear file?

541


What is tomcat in j2ee?

480


I’m new to WebLogic Does anyone knows how to Deploy Application using

1754


What is component-managed sign-on ?

533


how to run servlet program between two computer through internet ?

2544


What is component in java with example?

487


What is ejb module?

512