View Single Post
  #19  
Old 09-13-2007, 12:47 AM
Venkat Venkat is offline
D-Web Master
 
Join Date: Mar 2007
Posts: 347
Venkat is on a distinguished road
Thumbs up 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
Reply With Quote