%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"
import="at.gv.egiz.org.apache.tomcat.util.http.AcceptLanguage"%>
MOCCA PIN Management
<%
String locale = request.getParameter("locale");
if (locale == null) {
String acceptLanguage = request.getHeader("Accept-Language");
locale = AcceptLanguage.getLocale(acceptLanguage).toString();
}
String widthP = request.getParameter("appletWidth");
String heightP = request.getParameter("appletHeight");
int width = (widthP == null) ? 295
: Integer.parseInt(widthP);
int height = (heightP == null) ? 200
: Integer.parseInt(heightP);
String guiStyle = request.getParameter("appletGuiStyle");
if (guiStyle == null) {
guiStyle = "advanced";
}
String backgroundImg = request.getParameter("appletBackground");
%>