# Deployment Descriptor Visual Editor: Servlets

Use to configure properties for a servlet.

Element | Description
--- | ---
Servlet Name | (Read only) Displays the servlet name for identification purposes only.
Run As Role | (Read only) Displays the run-as role value if a run-as role name was designated in the `web.xml` file If no run-as role name was specified in the `web.xml` file, then this field is blank and disabled.
Principal Name | Specifies the name of the principal assigned to a security role. The name of the principal must match a name specified on the GlassFish application server.
Class Name | Specifies the implementation class.

Related Topics

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

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