# Working in the Servlets page

In the Servlets page of the Web deployment descriptor editor, you can add an existing servlet or JSP file to the deployment descriptor or remove the selected servlet of JSP file from the deployment descriptor.

To work in the Servlets page, complete the following steps:

1. Open a Web project in the Project Explorer.
2. Double-click the Web project's Deployment Descriptor file in the Project Explorer. The Web deployment descriptor editor opens.
3. Click the Servlets tab to open the Servlets page.
4. You can edit settings in the following sections of the Servlets page:
   - Servlets and JSPs - list servlets and JSPs used in this application. You can add or remove servlets and JSPs from the list.
   - Details - lists details about the selected servlet or JSP. Details listed include the servlet class (canonical name), the display name (a short name for display purposes), and a description.
   - URL Mappings - lists URLs mapped to the selected servlet.
   - Initialization - lists the initialization parameters that are configured for the selected servlet or JSP file
   - Load on Startup- enables you to specify the details of a servlet's load-on-startup element, including load order.
   - Security role references - list the security roles referenced in the Web application and lets you edit the security roles that are authorized to access the servlet. You can add or remove security roles. If you add a security role reference, you specify the role reference name, the role link, and a description.
   - Run as - lists details of the selected servlet's run-as element.
   - Icons - lets you view or change icons (small or large) used to represent the selected servlet or JSP file.
   - WebSphere® Extensions - list and lets you change the details of the Servlet Extension for the selected servlet. You can add a new extension by clicking Add. The Add Markup Language entry wizard appears. Also, depending on the Servlet Version of the project you are working with, you can specify global and local transaction settings.

Related concepts
The Web deployment descriptor editor

Related tasks
Configuring Web applications using the Web deployment descriptor editor

(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.