Servlet

The servlet element contains the declarative data of a servlet. If a jsp-file is specified and the load-on-startup element is present, then the JSP should be precompiled and loaded.

Inherits from type CompatibilityDescriptionGroup and adds the following.

Attributes Summary
servletName : StringThe servlet-name element contains the canonical name of the servlet.
loadOnStartup : IntegerThe load-on-startup element indicates that this servlet should be loaded on the startup of the web application.
webApp :   
webType : WebType  
params : InitParam * @since J2EE1.
securityRoleRefs : SecurityRoleRef *  
runAs : RunAsSpecifiedIdentityIf defined for a servlet, overrides the security identity used to call an EJB by that servlet in this web application.
initParams : ParamValue *  

Attribute Details

servletName    -    The servlet-name element contains the canonical name of the servlet.
     data type:  String
     default Value:   unspecified



loadOnStartup    -    The load-on-startup element indicates that this servlet should be loaded on the startup of the web application. The optional contents of these element must be a positive integer indicating the order in which the servlet should be loaded. Lower integers are loaded before higher integers. If no value is specified, or if the value specified is not a positive integer, the container is free to load it at any time in the startup sequence.
     data type:  Integer
     default Value:   unspecified



webApp    -     
     data type: 



webType    -     
     data type: WebType



params    -    @since J2EE1.4 deprecated, becomes initParams
     data type: InitParam*



securityRoleRefs    -     
     data type: SecurityRoleRef*



runAs    -    If defined for a servlet, overrides the security identity used to call an EJB by that servlet in this web application. The role-name is one of the security roles already defined for this web application.
     data type: RunAsSpecifiedIdentity



initParams    -     
     data type: ParamValue*


Copyright IBM Corp. 1997-2004