Sun Java System Web Server 6.1 SP11 Administrator's Configuration File Reference

The file is no longer supported for the default virtual server and other virtual servers. Most of the same functions are in the sun-web.xml file.

A few functions are in the server.xml file.

A few functions are in the web.xml file. For more information, see the Servlet 2.3 API specification at:

The following table lists the equivalent functions in the and sun-web.xml files.

Table A–4 to sun-web.xml Correspondences for Individual Servlet Properties Property  

sun-web.xml Element or Attribute  




Specified in a servlet-class element in the web.xml file.



Obsolete because servlets are hosted within a web application which is deployed at the URI specified as the value of the uri attribute of the WEBAPP element in server.xml.



The Servlet 2.3 specification specifies that servlet classes be packaged in the WEB-INF/classes directory or in .jar archives in the WEB-INF/lib directory. 



Use the init-param element of the <servlet> tag in web.xml to specify servlet-specific initialization parameters.



Specified in a load-on-startup element in the web.xml file.