Calling a RealWeb Subroutine
To call a RealWeb subroutine, you start your browser and enter a
with the following format:Protocol://WebServerURL/servlet/reality/ConnectionName/SubroutineName
- In a RealWeb URL, the
http
andhttps
protocols are supported. - ConnectionName specifies the host and Reality database, user-id and account. Connections are set up using the RealWeb configuration utility.
For example:
http://www.foo.com/servlet/reality/persistent/HOTEL
If required by the subroutine, additional parameters can be appended, either as additional path elements or as a search string. The following example illustrates both these techniques:
http://www.foo.com/servlet/reality/hotelConnect/HOTEL/room?number=21
Displaying Reality Items
An alternative way of using RealWeb is to extract complete Reality items from the database, using the RealWeb item , realityis. This is used in a similar way to the reality servlet - the URL must have the following format:
WebServerURL/servlet/realityis/ConnectionName/FileName/ItemName
Items used in this way can contain anything that can be displayed in a browser: complete HTML or
files, graphics, or , etc.