New Servlet Wizard: Configure Servlet Deployment

Use to configure the deployment of the servlet.

In the Configure Servlet Deployment panel, you set the following properties:

Element Description

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.


Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.