addServlet
Registers a single servlet at the given URL path. Paths that are empty or blank are silently ignored.
Parameters
path
The URL path to map the servlet to.
servlet
The HttpServlet instance to register.
Registers a single servlet at the given URL path. Paths that are empty or blank are silently ignored.
The URL path to map the servlet to.
The HttpServlet instance to register.