IntelliJ IDEA 13.1.0 Web Help

Some features described here are available in Ultimate edition only.

The Servlet Mapping element defines the URL pattern that associates the servlet with the set of URLs that call the servlet.

To define the mapping of a servlet
  1. Select the servlet in the Servlets Configured pane, tab General, and switch to the Assembly Descriptor tab.
  2. In the Servlet Mappings pane, click add. A new row appears with the Servlet text box displaying the name of the selected servlet.
  3. In the URL Pattern text box, specify the URL pattern to associate the servlet with the URLs that call the servlet.


    A URL pattern may contain a subset of US-ASCII characters. Avoid using other values.

To remove a mapping
  • Select the relevant row and click delete.

See Also



Web Resources: