Web. XML is a very important configuration file in a network program.
1. XML related standards
XML is more than just a language, and the generalized XML is a set of standards.
The XML base standard is a standard that is customized for further use of XML, and it specifies some common features, methods, or rules when using XML to develop standards. The XML Schema describes a more rigorous approach to defining XML documents so that documents can be processed more automatically.
2. DTD (document type definition)
Name of the web App
<display-name></display-name>
Descriptive information for web apps
<description></description>
Context parameters for Web apps
<context-param></context-param>
Filter configuration
<filter></filter>
<filter-mapping></filter-mapping>
Listener Configuration
<listener></listener>
Servlet configuration
<servlet></servlet>
<servlet-mapping></servlet-mapping>
Session Timeout Configuration
<session-config></session-config>
Specify the Welcome File page Configuration
<welcome-file-list></welcome-file-list>
Error page Configuration
<error-page></error-page>
To the tag library descriptor file
<taglib></taglib>
Web. XML configuration Detailed