Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Developer's Guide

- Previous: Superelements
- Next: servlet-impl-class

### Subelements

The following table describes subelements for the `servlet` element.

Table A–101 `servlet` Subelements

Element | Required | Description
--- | --- | ---
servlet-name | only one | Contains the name of a servlet, which is matched to a `servlet-name` in `web.xml`.
principal-name | zero or one | Contains a principal (user) name in the current realm.
webservice-endpoint | zero or more | Specifies information about a web service endpoint.

- Previous: Superelements
- Next: servlet-impl-class

- © 2010, Oracle Corporation and/or its affiliates