The servlets.properties 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 servlets.properties functions are in the server.xml file.
A few servlets.properties functions are in the web.xml file. For more information, see the Servlet 2.3 API specification at:
http://java.sun.com/products/servlet/index.jsp
The following table lists the equivalent functions in the servlets.properties and sun-web.xml files.
Table A–4 servlets.properties to sun-web.xml Correspondences for Individual Servlet Properties
servlets.properties Property |
sun-web.xml Element or Attribute |
Comments |
---|---|---|
(none) |
Specified in a servlet-class element in the web.xml file. |
|
(none) |
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. |
|
(none) |
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. |
|
(none) |
Use the init-param element of the <servlet> tag in web.xml to specify servlet-specific initialization parameters. |
|
(none) |
Specified in a load-on-startup element in the web.xml file. |