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

Answer Posted / jiban

ServletConfig as the name implies provide the information about configuration of a servlet which is defined inside the web.xml file or we can say deployment descriptor.its a specific object for each servlet

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 difference between get and post method?

574


How do you configure a centralized error handler in servlets?

537


Explain the difference between get and post method in servlet?

609


Difference between forward() method and sendredirect() method ?

588


What is servlet configuration?

532






What is a web container and what is its responsibility?

531


When servlet object is created?

604


What do you mean by a filter and how does it work?

543


Explain is servlet mapping?

586


How the typical servlet code look like ?

639


What is servlet and its types?

560


What do you mean by httpservlet and how it is different from the genericservlet?

543


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

519


explain the advantages of servlet life cycle?

562


How to create war file?

619