how a servlet is instantiated, whether the container calls
init() or by calling any other method? please somebody reply..

Answer Posted / aruna

servlet is instantiated after the .class file is loaded on
the memory.Then, the instance will be initialized by calling
init()

Is This Answer Correct ?    4 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How we can get ip address of client in servlet?

535


What is the GenericServlet class?

597


What is meant by cookies?

610


What is the use of servletconfig interface?

554


What's the architecture of a servlet package?

556






If some new data has entered the database, explain how can a servlet refresh automatically?

733


What is servlet and its advantages?

521


How to notify an object in session when session is invalidated or timed-out?

628


Explain the difference between a web server and a web container?

514


explain the advantages of servlet life cycle?

555


Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com

1738


What is the use of attribute in servlets?

540


What's the difference between authentication and authorization?

546


what do you understand by url rewriting?

546


Should I override the service() method?

666