New Servlet Wizard: Configure Servlet Deployment
See Also
In this panel of the New Servlet wizard, you configure the deployment of the servlet. You open the New Servlet
wizard by right-clicking a node in the Projects windows and choosing New > Servlet from the contextual menu.
In the Configure Servlet Deployment panel, you set the following properties:
- Add information to deployment descriptor (web.xml). Specifies whether the deployment descriptor is updated with the information in this panel.
- Class Name . Specifies the project where the servlet is located.
- Servlet Name . Specifies the internal name of the
servlet.
- URL Pattern(s) . Specifies patterns that identify the URLs that invoke the servlet.
- Initialization Parameters. Specifies the parameters for initializing the servlet.
- To add a new parameter, click New and type the name and value of the new parameter.
- To edit a parameter, click Edit and type the new information. Click OK to return to the wizard.
- To delete a parameter, click Delete.
Click Finish to create the servlet. The servlet then appears in the Project window under the package-name node.
- See Also
- About Servlets
- Creating Servlets
- New Project Wizard
Legal Notices