Scope: Class
Multiplicity
(0..1): You can use this tag
zero or one time in the Java™ source
file.
Purpose
This tag declares the class as a servlet class,
with the specified name, display-name, icon,
and description. Applies to servlets.
Parameters
| Parameter |
Type |
Applicability |
Description |
Mandatory |
| name |
text |
|
The name of the servlet,
which is unique within the application. |
true |
| display-name |
text |
|
The display-name of the
servlet. |
false |
| icon |
text |
|
The icon for the servlet. |
false |
| description |
text |
|
A description for the servlet. |
false |
| load-on-startup |
text |
|
Integer indicating the order in which the servlet
should be loaded. |
false |
| run-as |
text |
|
Specifies the run-as identity
(the name of a security role) to be used for the execution of the
web application. |
false |