IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Specify the servlet initialization parameters

Last modified: 10 August 2022

You can customize the servlet initialization by specifying initialization parameters of the servlet. This allows the servlet to perform various one-time activities by overriding the init method of the Servlet interface. An initialization attribute is defined through the Name and Value parameters. In the Web application deployment descriptor web.xml, these parameters are presented as <param-name> and <param-value> elements.