SRV.13.1 Deployment Descriptor Elements


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"> 


Java 2 Platform, Enterprise Edition. Platform and Component Specifications
Java 2 Platform, Enterprise Edition: Platform and Component Specifications
ISBN: 0201704560
EAN: 2147483647
Year: 2000
Pages: 399

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net