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 ServletContext object?

641


What is servlet collaboration?

661


What is the structure of the http response

669


How does java thread pool work?

544


Can we override destroy method in servlet?

495






What is servlet and list its types?

538


What is the life-cycle of servlets?

631


Why are http servlets used in programming?

546


What is the procedure of invoking different servlet in a different application?

558


What is the need of session tracking in web application?

583


What is Servlet API used for connecting database?

612


What is the use of java servlet api?

598


What are the uses of servlet and what is servlet chaining?

559


Explain the difference between get and post method in servlet?

598


What are the exceptions thrown by servlets? Why?

620