Sun Java System Web Server 6.1 SP7 Programmer's Guide to Web Applications


Configures the classloader for the web application.




The following table describes attributes for the class-loader element. The left column lists the attribute name, the middle column indicates the default value, and the right column describes what the attribute does.

Table 6–40 class-loader Attributes


Default Value  




(optional) Specifies additional classpath settings for this web application. 



(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 searches 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 <JAVA> element in server.xml

(optional) Allows 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 the Sun Java System Web Server 6.1 SP7 Administrator’s Configuration File Reference.