The Classloader element is named class-loader.
This element configures the classloader for the web application.
none
The following table describes attributes for the class-loader element.
Table A–43 class-loader Attributes
Attribute |
Default Value |
Description |
---|---|---|
extra-class-path |
null |
(Optional) Specifies additional classpath settings for this web application. If this path is not an absolute path, it is treated as relative to <web-app> <path> value. |
delegate |
false |
(Optional) If true, the web application follows the standard classloader delegation model and delegates to its parent classloader first before looking in the local classloader. If false, the web application follows the delegation model specified in the Servlet specification and looks in its classloader before looking in the parent classloader. For a web component of a web service, you must set this value to true. Legal values are on, off, yes, no, 1, 0, true, false. |
value of the dynamicreloadinterval attribute of the <jvm> element in server.xml |
(Optional) Enables an application to override the dynamicreloadinterval setting in server.xml. Specifies the frequency (in seconds) at which a web application is checked for modifications, and then reloaded if modifications have been made. Setting this value to less than or equal to 0 disables dynamic reloading of the application. If not specified, the value from server.xml is used. For more information about server.xml, see Sun Java System Web Server 7.0 Update 6 Administrator’s Configuration File Reference. |