Servlet mapping assembly settings

A servlet mapping is a correspondence between a client request and a servlet.

Access this page by traversing the following path in the Application Assembly Tool:

Web Modules > component_instance 

 

URL pattern (Required, String)

Specifies the URL pattern of the mapping.

The URL pattern must conform to the Servlet specification. Use the following syntax:

  • A string beginning with a slash character (/) and ending with the slash and asterisk characters (/*) represents a path mapping.

  • A string beginning with the characters *. represents an extension mapping.

  • All other strings are used as exact matches only.

  • A string containing only the slash character (/) indicates that the servlet specified by the mapping becomes the default servlet of the application. In this case, the servlet path is the request Uniform Resource Identifier (URI) minus the context path, and the path information is null.

Data type String

 

Servlet (Required, String)

Specifies the name of the servlet associated with the URL pattern.

Data type String


Webapps: Links

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.