Question: How do I add a servlet mapping?
The following is an example of a servlet mapping. This should be located in your web.xml
<web-app> <servlet> <servlet-name> example </servlet-name> <servlet-class> ExampleServlet </servlet-class> </servlet> <servlet-mapping> <servlet-name> examples </servlet-name> <url-pattern> /example </url-pattern> </servlet-mapping> </web-app>