Declaring Deployment Descriptors for a Web Application
Once you have inserted the components into the Web Application module, you are ready to define the
deployment descriptors. For Web Applications, deployment descriptors are defined
at the module level (described in this topic) and at the component
level (servlets/jsps) using the Customizer WebApp editor. The deployment descriptor declarations
are written to a web.xml and an ias-web.xml file in the \WEB-INF
directory at the root of the web module.
To declare deployment descriptors for a web application:
- Select the web.xml or ias-web.xml file of a web module.
- Right click and select Open using the iPlanet Customizer.
The WebApp Editor appears.
- Declare the deployment descriptors as required:
- General - Specifies overall attributes for your Web Application.
- Servlet - Specifies the mapping between servlets and the URL
pattern that will invoke them.
- Environment - Identifies environmental elements specific
to your Web Application.
- Security - Specifies security constraints to protect web content
by defining a resource collection.
- Roles - Declares security roles that are actually used within the
organization using this Web Application.
- References - Identifies EJB and resource factory references
in the source code of any Web Application component.
- iAS - Configures the Web Application targeted to your operational
iAS environment.
- Context - Declares the Web Application's servlet context initialization
parameters.
- Errors - Maps error codes to a resource within the web application.
- NLS - Specifies substitute character sets when running the Web
Application in different locales.
- MIME - Identifies the mapping between MIME types and MIME Extensions.
- Once you are satisfied with your declarations, select OK to write the deployment descriptor
declarations to the XML files.
Legal Notices