%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
MOCCA Applet
<%
// min W/H (for de locale): 145px/145px with gui style 'tiny'
// (vs. 152px on linux)
int width = session.getAttribute("appletWidth") == null ? 190
: (Integer) session.getAttribute("appletWidth"); //230 for workshop demo integration
int height = session.getAttribute("appletHeight") == null ? 130
: (Integer) session.getAttribute("appletHeight");
String backgroundImg = (String) session.getAttribute("appletBackground");
String guiStyle = (String) session.getAttribute("appletGuiStyle");
String locale = (String) session.getAttribute("locale");
String extension = (String) session.getAttribute("extension");
String appletClass, appletArchive;
if ("activation".equals(extension)) {
appletArchive = "BKUAppletExt.jar";
appletClass = "at.gv.egiz.bku.online.applet.ActivationApplet.class";
} else if ("pin".equals(extension)) {
appletArchive = "BKUAppletExt.jar";
appletClass = "at.gv.egiz.bku.online.applet.PINManagementApplet.class";
} else {
appletArchive = "BKUApplet.jar";
appletClass = "at.gv.egiz.bku.online.applet.BKUApplet.class";
}
%>