IntelliJ IDEA 14.0.0 Web Help

Defining the Servlet Mapping Element

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.

To remove a mapping

  • Select the relevant row and click delete.

See Also

Last modified: 12 November 2014
comments powered by Disqus