From 5bff0a3288bd2b5e1f1030c6e47430735cd09463 Mon Sep 17 00:00:00 2001 From: clemenso Date: Thu, 9 Jul 2009 16:34:07 +0000 Subject: [#393] loading of default background fails git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@407 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- BKUOnline/src/main/webapp/applet.jsp | 4 +++- BKUOnline/src/main/webapp/img/ChipperlingCutoff.png | Bin 0 -> 1522 bytes 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 BKUOnline/src/main/webapp/img/ChipperlingCutoff.png (limited to 'BKUOnline') diff --git a/BKUOnline/src/main/webapp/applet.jsp b/BKUOnline/src/main/webapp/applet.jsp index 0d8dc8b8..5564df2e 100644 --- a/BKUOnline/src/main/webapp/applet.jsp +++ b/BKUOnline/src/main/webapp/applet.jsp @@ -36,7 +36,9 @@ : (Integer) session.getAttribute("appletWidth"); int height = session.getAttribute("appletHeight") == null ? 130 : (Integer) session.getAttribute("appletHeight"); - String backgroundImg = (String) session.getAttribute("appletBackground"); + String backgroundImg = session.getAttribute("appletBackground") == null + ? "../img/ChipperlingCutoff.png" + : (String) session.getAttribute("appletBackground"); String guiStyle = (String) session.getAttribute("appletGuiStyle"); String locale = (String) session.getAttribute("locale"); String extension = (String) session.getAttribute("extension"); diff --git a/BKUOnline/src/main/webapp/img/ChipperlingCutoff.png b/BKUOnline/src/main/webapp/img/ChipperlingCutoff.png new file mode 100644 index 00000000..337b144b Binary files /dev/null and b/BKUOnline/src/main/webapp/img/ChipperlingCutoff.png differ -- cgit v1.2.3