%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"
import="at.gv.egiz.bku.online.webapp.AppletDispatcher,org.apache.commons.lang.RandomStringUtils,org.apache.commons.lang.StringEscapeUtils" %>
MOCCA
<%
int width = session.getAttribute("appletWidth") == null ? 190
: (Integer) session.getAttribute("appletWidth");
int height = session.getAttribute("appletHeight") == null ? 130
: (Integer) session.getAttribute("appletHeight");
String backgroundImg = StringEscapeUtils.escapeJavaScript(session
.getAttribute("appletBackground") == null ? "../img/chip32.png"
: (String) session.getAttribute("appletBackground"));
String backgroundColor = StringEscapeUtils
.escapeJavaScript((String) session
.getAttribute("appletBackgroundColor"));
String sessionId = StringEscapeUtils.escapeJavaScript(session.getId());
String dataURL = request.getRequestURL().toString();
dataURL = dataURL.substring(0, dataURL.lastIndexOf('/')) + "/DataURLServer";
%>