Re: Java/J2EE interview Questions What is the difference between Servletcontext and ServletConfig ?
ServletConfig contains configuration data for the servlet in the form of name and valuepairs.Using the ServletConfigwe get reference to the ServletContext object. ServletContextgives the servlet access to information about its runtime environment such as web serverlogging facilities, version info, URL details, web server attributes etc.
__________________ Venkat knowledge is Power |