Ultra Light Client Guide and Reference


Setting up the sample ULC HTTP server

The ULC HTTP server reads HTML pages and replaces specific tokens (instances of $WEBHOST) in these pages to enable you to run ULC application servers using a Web browser.

Set the ULCUIHOME environment variable for the location in which you installed the UI Engine:

SET ULCUIHOME=D:\VAST\ULC\UIEngine

Ensure that the file ULCSamples\HttpServer\lib\HttpServer.properties points to the correct document root directory:

HttpServer.documentroot=d:/ulcrt/ULCSamples/HttpServer/lib

To see examples of the specially formatted web pages, unpack the file ULCSamples/HttpServer/lib/httpserver.jar and view the following files:

/com/ibm/ulc/httpServer/resources/*.uhtml
 

To start the HttpServer on the default port run the batch file:

ULCSamples/HttpServer/bin/httpserver.bat
Note:
When testing the Http server you must select either the ULC Java or the ULC Smalltalk link from the ULC Http Home pagee depending on the ULC environment being used.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]