The Servlet interface enables the Web server to run stand-alone executable programs in response to requests from clients. While most Web servers today support servlets, you will need to make sure the specific server you are planning to use supports servlets. A good example is the IBM WebSphere Application Server.
To install the Servlet interface, follow these steps:
//<serverName>/<servletsDirectory or alias>/com.ibm.abt.web.servlet.RouterConfigurationInfoServlet
Note: | Many Web Servers set up an alias for the servlets directory, usually named servlet. If the server you are using has an alias, specify the alias instead of the actual servlets directory. |
The RouterConfigurationInfoServlet returns an information page that lists the settings used when the Web Connection Router servlet runs. Under the Basic Properties, record the value for the Default directory property. For example:
Default Directory (abtwsi.pro) C:\WINNT\system32\
If the web server is IBM HTTP server, then use the \Program Files\IBM Http Server\cgi-bin directory.
ABTWSI_BASENAME=d:/InetPub/wwroot/cgi-bin/abtwsiThis environment variable specifies where WSI looks for configuration and error message files.
When you install Web Connection, these files are installed in the webconn directory. You can copy them to another directory and also rename them. If you do either, you must reflect their new location and name in the ABTWSI_BASENAME field in the abtwsi.pro file. For example, if you moved the files to d:\wsifiles, and renamed them from abtwsi.* to mywsi.*, you would supply a value d:/wsifiles/mywsi for the ABTWSI_BASENAME field.
Note: | You must use forward slashes (/) when specifying the path information for the ABTWSI_BASENAME field. Java treats backward slashes (/) as escape characters. |