Iv. jmsr component requirements – MagTek JMSR Applet for MagTek User Manual

Page 6

Advertising
background image

JMSR Applet Programmer’s Guide

2

IV. JMSR COMPONENT REQUIREMENTS


The directory on the host Web Server must contain the following four components and these four
files must be in the same directory.

1. Jar file for JMSR Applet


JMTCardReader.jar

2. Windows DLL file


MTHIDMCR.DLL

3. HTML Page


In order to use JMSR Applet, the applet is embedded in a HTML page inside <Applet> tag
for Mozilla Firefox browser or <Object> tag for Internet Browser. For example:


<applet
type="application/x-java-applet;version=1.6"

codebase=”http://www.testserver.com”
code="JMTCardReader.class"

name="JMSR"

archive="JMTCardReader.jar"

scriptable = "true"

style = "visibility:hidden;"

mayscript="mayscript"

pluginspage = "http://java.com/en/download/index.jsp"

>

<param name="cache_option" value="No">
<param name="classloader_cache" value="true">


</applet>

The codebase parameter must be set to the URL where the applet is located. In the example,

the codebase is set to

http://www.testserver.com

where the server “testserver.com“ contains all

four components described in this section.


The classloader_cache parameter must be set to true to avoid Java IO exception when JMSR

applet is destroyed and restarted in the same browser’s session such as when a browser is refresh.


Advertising