Reviews
WebSphere TutorialsTable of Contents
WebSphere V5.0 : Web Development - Work with Web Application Deployment Descriptor
WebSphere V5.0 : Web Development - Work with Web Application Deployment Descriptor - Page 2
WebSphere V5.0 : Web Development - Work with Web Application Deployment Descriptor - Page 3WebSphere V5.0 : Web Development - Work with Web Application Deployment Descriptor
.
WebSphere V5.0 : Web Development - Work with Web Application Deployment Descriptor
In this tutorial you will learn about WebSphere V5.0 : Web Development - Work with Web Application Deployment Descriptor using web.xml editor, Configuring Web applications using the Web deployment descriptor editor, The Web deployment descriptor editor, Overview, Servlets, Filters, Listeners, Security, Environment, Reference, Pages, Parameters, MIME, Extensions and Source.
Configuring Web applications using the Web deployment descriptor editor
When you create a Web project, the New Web Project wizard places a web.xml file in the project's WEB-INF directory. To open the web.xml file, double-click the Web Deployment Descriptor file in the J2EE Navigator view. The Web deployment descriptor editor opens in the editing pane.
It is recommended that you use the tabbed pages (views) to construct the deployment descriptor for your Web application. Even though the Web deployment descriptor editor does provides a source page of the web.xml file (from the Source tab), using the tabbed pages is easier and introduces fewer errors. As you make changes on these tabbed pages, the web.xml file is updated automatically. For instance, when you use the New Servlet wizard to create a servlet in a Web project, the appropriate servlet entry is automatically inserted into the web.xml file.
In addition to the configuration information in the web.xml file, you can also use this editor to edit other deployment descriptors in the Web project, including information on bindings and IBM extensions (ibm-web-bnd.xmi and ibm-web-ext.xmi files).
To edit the deployment descriptor, click the tabbed pages to locate attributes that you wish to add, edit or remove. In addition, the sections in the Overview page contain links to existing elements of the deployment descriptor. Click the links to open the appropriate editor page to make updates or additions.
For help on individual attributes represented by fields and other controls in the editor, click F1.
The Web deployment descriptor editor
The Web deployment descriptor editor lets you specify deployment information for modules created in the Web development environment. The information appears in the WEB-INF/web.xml file. Note that you use the Web deployment descriptor to set deployment descriptor attributes. You do not use it to manipulate Web resource content.
The web.xml file for a Web project provides information necessary for deploying a Web application module. It is used in building a WAR file from a project. Whenever you create a new Web project, a minimal web.xml file is automatically created in WEB-INF under the project's Web content folder.
The Web deployment descriptor editor is dynamic and includes many tabbed pages (views) that represent various properties and settings in the deployment descriptor. For example, you can click the Servlets tab to display the Servlets and JSPs page. From this page, you can add or remove servlets and JSPs Web application. The Web deployment descriptor editor includes the following tabbed pages, each of which you can edit:
- Overview
Provides a quick summary of the contents in the Web deployment descriptor and lets you add, remove, or change the contents.

- Servlets
Lets you create a new servlet, add an existing servlet or JSP file to the deployment descriptor, or remove the selected servlet of JSP file from the deployment descriptor.

- Filters
Lets you create a new filter, add an existing filter to the deployment descriptor, or remove the selected filter from the deployment descriptor.

WebSphere Tutorials
- WebSphere V5.0 : Building Expressions
- WebSphere V5.0 : Creating SQL statements
- WebSphere V5.0 : Applying DDL scripts to a remote database
- WebSphere V5.0 : Deploying to the database
- WebSphere V5.0 : Defining a table
- WebSphere V5.0 : Defining a database
- Working with Data in WebSphere
- WebSphere V5.0 : Debugging - JSP debugging
- WebSphere V5.0 : Debugging - Scrapbook Page
- WebSphere V5.0 : Debugging - View variables
- WebSphere V5.0 : Debugging - Step-through code
- WebSphere V5.0 : Debugging - Set breakpoints
- WebSphere V5.0 : Running Applications - Export J2EE applications
- WebSphere V5.0 : Running Applications - Run/operate server
- WebSphere V5.0 : Running Applications - Understand Session Manager
- WebSphere V5.0 : Running Applications - Configure data sources
- WebSphere V5.0 : Running Applications - Create server instance and server configuration
- WebSphere V5.0 : Web Development - Use Web Page Wizards
- WebSphere V5.0 : Web Development - Work with Web Application Deployment Descriptor
- WebSphere V5.0 : Web Development - Use content assist
- WebSphere V5.0 : Web Development - Use Page Designer to add and modify HTML and JSP content
- WebSphere V5.0 : Web Development - Understand classpath and module dependencies
- WebSphere V5.0 : Web Development - Create resources in appropriate J2EE locations
- WebSphere V5.0 : Web Development - Create a web project
- WebSphere V5.0 : Java Development - Use property dialogues
- WebSphere V5.0 : Java Development - Use hierarchy view
- WebSphere V5.0 : Java Development - Use task view
- WebSphere V5.0 : Java Development - Use search function
- WebSphere V5.0 : Java Development - Use content assist function and declarations
- WebSphere V5.0 : Java Development - Use refactoring features
- WebSphere V5.0 : Java Development - Use Outline View and Browsing View
- WebSphere V5.0 : Java Development - Create Java project, packages, classes, methods
- WebSphere V5.0 : Workbench Basics - Use the Help feature to aid in development activities
- WebSphere V5.0 : Workbench Basics - Import to and export from the workbench
- WebSphere V5.0 : Workbench Basics - Work with Perspectives
- WebSphere V5.0 : Workbench Basics - Set workbench preferences
- WebSphere V5.0 : Workbench Basics - Create J2EE projects







