The connection parameters available in the configuration file for the session and on the logon page can also be specified as URL parameters of the logon page URL. This allows bookmarking the startup URL of a Natural application or starting an application by clicking a hyperlink in a document.
The URL parameters overrule the definitions in the configuration file, with the exception described in the table below.
The following URL parameters are available for the logon page:
URL Parameter | Corresponding Option in the Session Configuration |
---|---|
natsession |
Session ID |
natserver |
Host name |
natport |
Port number |
natuser |
User name |
natprog |
Application |
natparam |
Natural parameters |
natparamext |
Natural parameters
The URL parameter If you want to overrule the definition in the configuration file,
use the URL parameter |
nattimeout |
Timeout (n seconds) |
Wichtig:
All parameter values must be URL-encoded.
Example: In order to start the Natural program dump
, while
your application server is running on myhost:8080 and your Natural
Web I/O Interface server is running on myserver1:4811, you can use
the following URL:
http://myhost:8080/natuniweb/natural.jsp?natserver=myserver1&natport=4811&natprog=dump&natuser=myusername