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

562


In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify

614


What is the importance of init() method in Servlet ?

619


What is the web server used for running the Servlets?

601


What is difference between jsp and servlet?

674






What do you mean by servlet?

747


What are the supporting protocol by HttpServlet ?

686


What do you mean by web applications? Explain web application directory arrangement?

567


Explain web application directory arrangement?

615


Why HttpServlet class is declared abstract?

681


Difference between java beans & servlets?

614


Explain get and post.

674


What are the phases of the servlet life cycle?

638


Which java framework is most popular?

607


Describe some assignments that are executed by servlet container?

626