What is the ServletConfig() and what is its use?

Answer Posted / dileep

which describes the configureation of our servlet.
generally we will declare all member variables and nmember
functiions inside init() method.thats why we are passing
ServletConfig as parameter to every init() method of the
servlet.

Is This Answer Correct ?    8 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?

616


What is servlet in tomcat?

560


What are life cycle methods of a servlet?

590


What is getservletcontext?

552


What do you mean by session tracking?

673






Is servlet a framework?

543


What is the use of httpservletrequestwrapper and httpservletresponsewrapper?

545


How are filters?

585


How do you invoke a Servlet? What is the difference between doPost method and doGet method?

647


How do we go with database connection and log4j integration in servlet?

708


What are the key methods that are involved in processing of http servlets?

626


What do you mean by annotations in servlet?

588


How can you push data from an Applet to a Servlet?

609


What is the major difference between context parameter and context attribute?

599


What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?

604