Java 2 Platform, Enterprise Edition: Platform and Component Specifications

The following types of configuration and deployment information exist in the web application deployment descriptor:

  • ServletContext init parameters

  • Session configuration

  • Servlet/JSP definitions

  • Servlet/JSP mappings

  • Mime type mappings

  • Welcome file list

  • Error pages

  • Security

See the DTD comments for further description of these elements.

SRV.13.1.1 Deployment Descriptor DOCTYPE

All valid web application deployment descriptors must contain the following DOCTYPE declaration:

<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc. //DTD Web Application 2.2 //EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">

Категории