Pathway/iTS Web Client Programming Manual (H06.03+, J06.03+)

Table Of Contents
How to Compile, Build, and Maintain a Pathway/iTS
Web Client
HP NonStop Pathway/iTS Web Client Programming Manual520270-003
2-16
12. Maintain the Client
To modify the number of I/O operations in a session, replace the param sessionlength
default value (within the double quotes; 20 in the example) with the desired integer
value.
12. Maintain the Client
You can maintain the client by modifying either the SCREEN COBOL source files or
the Java source files. If both terminal clients and web clients access the converted
application, you might want to make future modifications in the SCREEN COBOL files
to avoid maintaining two sets of source-code files. On the other hand, if all the clients
accessing the application are web clients, modifying the Java source might be a better
option.
Modify SCREEN COBOL Source Code
Enhancements and maintenance changes to the SCREEN COBOL source code fall
into one of these categories:
Changes to business logic only
Changes to business logic and display
Changes to display section only
Changes to Business Logic Only
If only the business logic changes, all the corresponding changes to the web clients
are in the Java code. In this case, to generate a newer version of the web client, do
these:
1. Reconvert the SCREEN COBOL application.
Example 2-2. Sample CONTROL.html File
<HTML> <HEAD>
<META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-
8859-1">
<TITLE> Control Frame </TITLE>
<SCRIPT LANGUAGE="JavaScript">
</SCRIPT> </HEAD>
<BODY>
<applet code="LOGON_MAINAPP.class", name="PathwayiTS",
archive="itsjlib.jar" width=10, height=10, MAYSCRIPT>
<param name=portnumber value="2500">
<param name=sessionlength value="20">
<param name=userAuthenticate value="true">
<param name=getProfile value="true">
<param name=encoding value="8859_1">
</applet>
</BODY> </HTML>