Customer Login (Online) About Platypus Partners (Online) Products and Services (Online) Support (Online) http://www.platypuspartners.com www.platypuspartners.com
Configuration
- JET 3270 Documentation / Configuration

Configuration

In this section:

Creating a web page which will load JET 3270

The portion of JET 3270 which runs inside the user's web browser is known as a JavaTM applet. The applet is a set of class files. Class files are the compiled Java code. These class files are provided with the JET 3270 distribution as a JAR file (JET3270J.jar).

To include a JET 3270 applet in a web page, the web page needs to include an <APPLET> tag that specifies CODE=com.platypuspartners.jet3270.JETApplet3270.class.

The applet also needs a space on the screen into which it can draw. This is specified by the WIDTH and HEIGHT attributes of the <APPLET> tag.

There are several web page editors that will allow you to insert a reference to an applet without the web page designer being aware of the HTML commands that the editor generates. It is equally valid for the web page designer to use such an editor so long as the CODE, ARCHIVE, WIDTH and HEIGHT attributes are set correctly. Note also that class file names are case sensitive. For newer versions of Java from Oracle, you also require the "jnlp_href" attribute.

Although there are many other class files for the JET 3270 applet stored in the JET3270J.jar file, the web page designer need not specify these in the <APPLET> tag. The web browser will automatically identify the other class files that the JET 3270 applet needs.

Applets can be "configured" by including parameters embedded in the <APPLET> tag. The web page designer can include parameters using <PARAM> tags. Refer to Applet Parameters for more information.

Applet parameters

Applet parameters appear in the web page used to load JET 3270. They are used to configure JET 3270. For example, applet parameters specify the names and URLs of web sessions that JET 3270 users can open.

Applet parameters are specified with <PARAM> tags enclosed by the <APPLET> and </APPLET> tags. An example of an <APPLET> tag which loads JET 3270 and specifies two web sessions, is:

<APPLET CODE=com.platypuspartners.jet3270.JETApplet3270.class
ARCHIVE=JET3270N.jar jnlp_href="JET3270.jnlp" WIDTH=300 HEIGHT=40>
<PARAM NAME="web_session_name_1" VALUE="locis">
<PARAM NAME="web_session_url_1" VALUE="http://www.acme.com/jet3270/sessions/locis">
<PARAM NAME="web_session_name_2" VALUE="Accounts">
<PARAM NAME="web_session_url_1" VALUE="http://www.acme.com/jet3270/sessions/acc">
<PARAM NAME="last_web_session" VALUE="2">

Your Web Browser is not currently Java-enabled.

</APPLET>

The following table lists the JET 3270 applet parameters

If a parameter name is not specified correctly, or its value is invalid, JET 3270 uses the default value for that parameter.

Current Release
JET 3270 7.0A

Documentation - JET 3270
Table of Contents
System Requirements
Installation
Upgrading
Removal
Configuration
Settings and Preferences
Scripting
Printing
Keyboard Mapping
Troubleshooting
Reference
How To Guide

Quick Links

Contact Us

sales@
platypuspartners.com

NAME VALUE type Default Value Description
alarm_audio File name bell.au Audio file that JET 3270 plays when it sounds an alarm for users without saved preferences.
allowed_hostname Hostname or IP address localhost Hostname users are allowed to connect to when when "disable_hostname_port" is "yes".
allowed_port Integer 23 Port number of host users are allowed to connect to when when "disable_hostname_port" is "yes".
audio_enabled yes, no yes Whether JET 3270 attempts to sound any alarms for users without saved preferences.
debug yes, no no Provide debugging and tracing information for users without saved preferences.
disable_hostname_port yes, no no Disable the user's ability to specify a host to connect to.
disable_new_window yes, no no Disable the user's ability to create new JET 3270 windows.
disable_preferences yes, no no Disable the display and modification of preferences.
disable_session_settings yes, no no Disable the display and modification of session settings and the use and saving of local sessions.
help_source One of:
--code_base
--custom
code_base Location from which help files are loaded for users without saved preferences.
help_custom_url HTTP URL (no default) URL of location from which help files are loaded if "help_source" is "custom" for users without saved preferences.
ignore_meta_under_unix yes, no yes Whether JET 3270 ignores the Meta key when running under Unix or Linux.
key_activity_timeout Integer 0 Minutes JET 3270 waits before disconnecting due to no key activity.
last_web_session Integer -1 Number of the highest numbered web session.
show_keyboard yes, no yes Whether JET 3270 shows the on-screen keyboard for users without saved preferences.
show_statusbar yes, no yes Whether JET 3270 shows the status bar for users without saved preferences.
show_toolbar yes, no yes Whether JET 3270 shows the toolbar for users without saved preferences.
startup_operation One of:
-- none
-- new_window
-- new_session
-- open_session
-- open_session_new_window
none What JET 3270 does when it starts up for users without saved preferences.
startup_session Session name empty The session opened if the startup operation is Open Session or Open Session in New Window.
toolbar_size One of:
--small
--large
small Toolbar icon size for users without saved preferences.
warn_unsupported_vm yes, no yes Display warning if virtual machine is unsupported for users without saved preferences.
web_session_name_x String empty The name of web session number x.
web_session_url_x HTTP or file URL empty The URL of web session number x.


About Us
| Products | Support | Contact Us


Java and all Java-based trademarks and logos are trademarks or registered trademarks of
Sun Microsystems, Inc. in the United States and other countries.