%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
MOCCA Applet
<%
// min W/H (for de locale): 152px/145px with gui style 'tiny'
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 appletClass, appletArchive;
//if (Boolean.parseBoolean((String) session.getAttribute("appletExtension"))) {
if ("activation".equals(guiStyle)) {
appletArchive = "BKUAppletExt.jar";
appletClass = "at.gv.egiz.bku.online.applet.ext.BKUAppletExt.class";
} else {
appletArchive = "BKUApplet.jar";
appletClass = "at.gv.egiz.bku.online.applet.BKUApplet.class";
}
%>