Show TOC Start of Content Area

Procedure documentation Editing the Pages Properties  Locate the document in its SAP Library structure

Use

Use this procedure to specify the welcome and error pages of the Web application.

Procedure

...

       1.      In your DLP project, choose the J2EE Components tab.

       2.      Choose a WAR from the list.

       3.      Open the Pages tab.

       4.      Manage the welcome and error pages of the WAR.

       5.      Save the changes of your project.

Managing the Welcome Pages

...

       1.      Click the Welcome Pages subtab. The available default welcome pages are listed in alphabetical order in the Welcome Files field.

       2.      To add a new welcome file, click the Add button. In the dialog box enter the path (relative to the root of the Web archive) to the welcome page.

       3.      Use the Remove and Edit buttons to remove or edit your entry.

Managing the Error Pages

...

       1.      Click the Error Pages subtab.

       2.      The Error Pagesfield lists the existing mappings between an error code or an exception type to the path of a resource in the WAR.

       3.      In the Location field enter the relative path to the location of the error page within the WAR.

       4.      Select the type of the error from the Type field. The error could be of type error-code or exception-type.

       5.      In the Value field specify the value of the mistake. If it is:

¡        An error-code – the value should be an HTTP error code.

¡        An exception-type – the value should be a fully qualified class name of a Java exception type.

       6.      Click the Add button to add the new to the list. Use the Remove, Modify and Clear buttons according to their meanings.

Result

When deployed, your application will use these pages for the visual interface to the clients.

 

 

End of Content Area