Configuration Settings: Uniface Servlet
Uniface servlets run in the environment of the web application. Settings for the Uniface servlets, the WRDand SRD, are stored in the web.xml file, which is the configuration file of the web application.
The settings for the Uniface servlets are grouped in servlet configuration sections, one for each Uniface servlet. The web.xml file uses the following format to configure servlet settings:
<web-app> <servlet> <servlet-name>ServletName</servlet-name> <servlet-class>ServletClass</servlet-class> <init-param> <param-name>ServletSetting<param-name> <param-value>ServletSettingValue<param-value> </init-param> ... </servlet> </web-app>
where:
- ServletName—name of the servlet (for example the Uniface servlet
wrd
orsrd
) - ServletClass—Java class inplementing the servlet
- ServletSetting—name of the servlet setting
- ServletSettingValue—value of the servlet setting