Servlets
as a part of a Web application are created and configured through the
<servlet>
and
<servlet-name>
elements in the
web.xml
Web Application deployment descriptor.
- Configure a new servlet.
- Click OK in the New Servlet dialog box. The new servlet is added to the list in the Servlets Configured pane.
- Specify the servlet initialization parameters.
- Specify the servlet context parameters.