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.



 

Attributes Summary

smallIcon  
largeIcon  
servletName The servlet-name element contains the canonical name of the servlet.
displayName  
description  
loadOnStartup The load-on-startup element indicates that this servlet should be loaded on the startup of the web application.
webApp  
webType  
params  
securityRoleRefs  
runAs If defined for a servlet, overrides the security identity used to call an EJB by that servlet in this web application.

 

Attribute Details


smallIcon

 

Data type:   String
Default value:   unspecified



largeIcon

 

Data type:   String
Default value:   unspecified



servletName

The servlet-name element contains the canonical name of the servlet.

Data type:   String
Default value:   unspecified



displayName

 

Data type:   String
Default value:   unspecified



description

 

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

 

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