Servlet Init parameters and ServletConfig interface

Init parameters: Init parameters refer to the initialization parameters of a servlet or filter. <init-param> attribute is used to define an init parameter. <init-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. ServletConfig interface: The ServletConfig interface is … Read more