@web.servlet

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
Related reference
@web.ejb-local-ref
@web.ejb-ref
@web.env-entry
@web.filter
@web.filter-init-param
@web.filter-mapping
@web.listener
@web.resource-env-ref
@web.resource-ref
@web.security-role
@web.security-role-ref
@web.servlet-init-param
@web.servlet-mapping
Terms of use | Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.