Skip to content

Instantly share code, notes, and snippets.

@fabn
Created August 5, 2010 11:14
Show Gist options
  • Save fabn/509580 to your computer and use it in GitHub Desktop.
Save fabn/509580 to your computer and use it in GitHub Desktop.
<script src="http://www.java.com/js/deployJava.js">
</script>
<script>
var attributes = {
codebase: 'http://localhost/jar',
code: 'it.mebius.uploader.Applet.class',
archive: 'applet.jar, lib/apache-mime4j-0.6.jar, lib/httpmime-4.0.jar, lib/commons-codec-1.4.jar, lib/commons-logging-1.1.1.jar, lib/forms-1.2.1.jar, lib/log4j-1.2.15.jar, lib/httpclient-4.0.jar, lib/httpcore-4.0.1.jar',
width: 600,
height: 480
};
var parameters = {
java_arguments: '-Xmx512m',
basehref: 'http://localhost/',
kpi_id: 34,
checklist_id: 23,
checking_id: 12,
locale: 'en',
preview_id: 12,
session_id: '3298472394723956847375623894'
};
var version = '1.6';
deployJava.runApplet(attributes, parameters, version);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment