IntelliJ IDEA 13.1.0 Web Help

Some features described here are available in Ultimate edition only.

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.

To specify the initialization parameters
  1. Open web.xml and switch to the General tab.
  2. To add a parameter, click add in the Servlet Initialization Params pane.
  3. Specify the name and the value of the initialization attribute in the Name and Value text boxes.
  4. Enter a description in the Description text box.
  5. To remove a parameter, select the relevant row and click delete

See Also



Web Resources: