Both ServletConfig and ServletContext are configuration objects used by servlet container to initialize various init parameters for a web application.However, they differ in terms of the scope and availability of init parameters defined by both of them S.No. ServletConfig ServletContext 1. one ServletConfig object per servlet one ServletContext object shared by all the servlets ...