Next: Web service definition
Up: Server side
Previous: Administration GUI files
Generate a web application deployment descriptor starting from
web.xml.template. This file describes all filters and servlets
that form the web application, along with any initialization parameters.
The template is divided into five sections:
- Servlet Context Parameters: define initialization context parameters
for the web application. Nothing has to be done for the Authorization Filter.
- Filter Definition: define classes implementing the filters for the
web application. The classes needed by the Authorization Filter and the
Administration GUI are already included.
- Filter Mapping: associate filters with URL paths. Substitute the
parameter
@URL.PATH.TO.BE.PROTECTED@ with the URL path of the servlets that
need authorization protection.
- Servlet Definition: define the classes implementing the servlets for the
web application. The classes needed by the Administration GUI servlets are
already included.
- Servlet Mapping: associate servlets with URL paths. Servlets that
require authorization protection must be located at the same URL path
specified in the Filter Mapping section by the parameter
@URL.PATH.TO.BE.PROTECTED@.
Save the final configuration in the file
@WEBAPP.LOCATION@/WEB-INF/web.xml.
Next: Web service definition
Up: Server side
Previous: Administration GUI files
2004-05-05