InfoCenter Home > 6.6.9: Administering servlets (overview)The servlet developer will create a servlet class file and either provide the file to the administrator or notify the administrator of the file's location on a machine in the WebSphere administrative domain. For an "explicitly configured servlet," the administrator specifies properties such as:
An "implicitly configured servlet" resides in a directory specified to hold servlets for a Web application, and can be invoked only if the Web application is enabled to serve by classname. This is accomplished by adding a certain WebSphere internal servlet to the Web application. Approaches to administering servletsThe administrator can represent the servlet a few ways in the administrative domain:
An explicitly configured servlet can be monitored, but an implicitly configured servlet cannot. If the administrator requires statistics such as requests and execution time, he or she should explicitly configure the servlet. WebSphere Studio configuration filesUnless creating your servlets in the Studio product, disregard this section. It discusses the handling of .servlet files generated by the IBM WebSphere Studio product. Whenever WebSphere Application Server Version 3 loads a servlet, it looks for an accompanying .servlet file specifying initialization parameters and configuration information for the servlet. To be found, the .servlet file must reside in the same directory as the servlet. No further action is required to use .servlet files in WebSphere Application Server Version 3. The WebSphere Administrative Console does not display .servlet files, even if they are present. However, it will display the servlet and its configuration if you define the servlet in the administrative domain. If using the console to specify servlet settings, make sure they do not conflict with those defined in the .servlet file. In such a case, it is likely, but not definite, that the console settings will override the .servlet file settings. |
| ||
|