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

Answer Posted / ramesh nagula

A servlet configuration object used by a servlet container
used to pass information regarding the initialisation
parameters which are specified
in the web.xml file to a servlet during initialization

Is This Answer Correct ?    14 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the main purpose of java servlets?

583


Differentiate between get and post?

681


Where do you define dispatcherservlet?

550


What is the use of servlet context?

527


Is that servlet is pure java object or not?

638






Why filter is used in servlet?

524


Why is a constructor needed in a servlet even if we use the init method?

602


What is the element?

585


Whats the advantages using servlets over using CGI?

584


What are different Authentication options available in Servlets.

562


I Have A Plan to develop a Project in Struts,I want the template of struts project with Hibernate.Canany body provide me the required information?

2230


How forward () method is different from send redirect () method?

513


If servlet receives multiple requests, how many objects will it create?

827


Explain the war file?

608


What are the types of servlet?

662