Example & Tutorial understanding programming in easy ways.

What is ServletConfig object?

The ServletConfig object is an object of javax.servlet.ServletConfig class and is used to pass configuration information to Servlet. Every servlet has itís own ServletConfig object and servlet container is responsible for instantiating this object. The ServletConfig object is the one per servlet per web application.   

     We can provide servlet init parameters in web.xml file or through use of WebInitParam annotation. We can use getServletConfig() method to get the ServletConfig object of the servlet.

Read More →
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!