Servlet context parameters and ServletContext interface

Context parameters: Context parameters refer to the initialization parameters for all servlets of an application. <context-param> attribute is used to define a context parameter. <context-param> attribute has two main sub attributes <param-name> and <param-value>. The <param-name> contains the name of the parameter and <param-value> contains the value of the parameter. ServletContext interface: The servletContext interface … Read more