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 the use of servletconfig interface?

558


What are the exceptions thrown by servlets? Why?

625


What is url encoding and url decoding

590


How to read request headers from servlets?

564


Explain mvc pattern.

594






What is Servlets and explain the advantages of Servlet life cycle?

585


What are the different methods involved in generic servlet?

558


What is the effective way to make sure all the servlets are accessible only when user has a valid session?

572


If a servlet is not properly initialized, what exception may be thrown?

629


What are the different session tracking techniques?

682


How does tomcat servlet container work?

592


What are the new features added to servlet 2.5?

594


What is the functionality of actionservlet and requestprocessor?

601


How would you create deadlock on your servlet?

623


What do you mean by cgi?

534