Show TOC Start of Content Area

Procedure documentation Editing web.xml in the Diagram View  Locate the document in its SAP Library structure

Use

The Diagram view provides a visual representation of the web.xml file. Here, you can add elements and links. The uses of these elements and links are covered in J2EE Web Components Configuration. For more editing options, see Editors for Deployment Descriptors.

Prerequisites

The Web project exists. See Creating Web Projects.

Procedure

...

       1.      In the J2EE Explorer or J2EE DC Explorer, select the Web project and choose Open Diagram from the context menu.

The Diagram view displays any elements already in the project.

This graphic is explained in the accompanying text

Editing web.xml in the Diagram View

       2.        In the web.xml diagram, perform the necessary tasks from the following list:

Task

Steps

Adding Web Objects

                            a.      In the toolbar, select Web Object.

                            b.      Click on an empty part of the page.

                            c.      Select the object that you want to add

                            d.      Choose OK.

Adding Other Elements

...

                            a.      In the toolbar, select the type of element to be created.

                            b.      Click on an empty part of the page.

Adding a Link

...

                            a.      In the toolbar, select the type of link.

                            b.      Drag and drop the link on the relevant objects.

 

Deleting an Object

                            a.      Select the object.

                            b.      Choose Delete from the context menu.

                            c.      In the confirmation dialog, choose OK.

 

Navigating to an Object in the J2EE View

                            a.      In the Diagram view, select the object.

                            b.      Choose Select in J2EE View from the context menu.

 

End of Content Area