Which method the Servlet container call to create the
instance of the servlet?

Answer Posted / ravikiran.chd

class.forName(classname).getInstance()

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is load-on-startup in servlet?

586


What is servlet attributes and their scope?

595


Why is servlet used?

686


Which HTTP method is non-idempotent?

618


What is the difference between the include() and forward() methods?

571






Can we fetch the attributes related to a servlet on a different servlet?

636


A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?

612


What do you mean by web applications?

627


What is servlet invoker?

602


Explain the jar and war files in servlet?

557


How can we perform any action at the time of deploying the project?

623


Is it possible to have a constructor inside the servlet?

554


What are all the ways for session tracking?

593


Explain url encoding?

520


Explain the difference between get and post method in servlet?

606