J2EE - Web.xml (Deployment descriptor of a Web Application)

1 - About

The web.xml file is the deployment descriptor file for a web application.

It's a J2EE standard XML document that configures the contents of a WAR file.

You can override any of the default servlet parameters at the Web application level by specifying corresponding <init-param> elements in the J2EE standard web.xml deployment descriptor.

3 - Example






4 - Structure

4..1 - Start Page

The start page for the application is defined with the welcome-file tag.



It's default value is:

  • name: index,
  • Extension: .html, .htm, or .jsp

4..2 - Global Parameter (context-param)

Data Science
Data Analysis
Data Science
Linear Algebra Mathematics

Powered by ComboStrap