Netscape Enterprise Server 4.0 Servlets SDK


The following is a set of samples and example components, plugins and technologies supported by Netscape Enterprise Server 4.0 Servlet Engine.  This includes binaries, all code, and a build enviroment.  The script sdk_test is used to compile the examples should they be modified (they come pre-compiled), install the examples into the server document root, and execute a series of requests to the server to verify that the samples are working.  The directions below describe how to run the tests using a new server installation (if the install server environment has been modified -- for example, if the document root has been changed, then these tests will not work correctly).

Selected Inventory

UNIX Setup
To install the tests in the current server and run them, follow these steps:
                    # setenv NS_SERVER_HOME /usr/netscape/server4                     # ${NS_SERVER_HOME}/https-admserv/start                     http://<hostname>:<port>/                     # sh sdk_test.sh -i                     # sh sdk_test.sh -t <PORT>                     # setenv JAVA_HOME /usr/java1.2                     # sh sdk_test.sh -c
 

NT Setup

                  # sdk_test -i                   # sdk_test -t <PORT>
                    C:\Netscape\Server4\bin\https\jar\servlets.jar                   C:\Netscape\Server4\plugins\samples\servlets\servlets\HelloWorld\                   javac HelloWorldServlet.java                    # sdk_test -c