web-apps.xml
Chapter 2 Configuration Files 105
See Also
• Netscape Enterprise Server Programmer’s Guide to Servlets
• The Servlet 2.2 API specification at:
http://java.sun.com/products/servlet/index.html
• The JSP 1.1 specification at:
http://java.sun.com/products/jsp/download.html
There is no listing of this file’s elements and attributes because the Servlet 2.2 API
specification describes them.
web-apps.xml
Purpose
Definesa set of web applications hosted by a virtual server. Each virtual server can
have its own
web-apps.xml file.
Location
This is the location for the default file only.
server_root/https-server_id/config
Syntax
Most of the file has the following basic XML syntax, with nested elements:
<ELEMENT attribute="value" attribute="value"...>
<SUBELEMENT attribute="value" attribute="value".../>
</ELEMENT>
In Table 2-26, elements are in bold to distinguish them from attributes, and default
values are assumed if the specified attributes are not present.
See Also
• Netscape Enterprise Server Programmer’s Guide to Servlets
• The Servlet 2.2 API specification at:
http://java.sun.com/products/servlet/index.html
• The JSP 1.1 specification at:
http://java.sun.com/products/jsp/download.html
Comentários a estes Manuais