summaryrefslogtreecommitdiff
path: root/BKUApplet
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-07-09 16:34:07 +0000
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-07-09 16:34:07 +0000
commit5bff0a3288bd2b5e1f1030c6e47430735cd09463 (patch)
tree03695e33968feafec1d2831dd3926cf09d881259 /BKUApplet
parent677021e29d773f51c3ffadbb75e6639eca01980f (diff)
downloadmocca-5bff0a3288bd2b5e1f1030c6e47430735cd09463.tar.gz
mocca-5bff0a3288bd2b5e1f1030c6e47430735cd09463.tar.bz2
mocca-5bff0a3288bd2b5e1f1030c6e47430735cd09463.zip
[#393] loading of default background fails
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@407 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUApplet')
-rw-r--r--BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java b/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java
index 43bc2dae..95ac3553 100644
--- a/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java
+++ b/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java
@@ -116,7 +116,7 @@ public class BKUApplet extends JApplet {
backgroundImgURL = getURLParameter(BACKGROUND_IMG, null);
log.debug("setting background: " + backgroundImgURL);
} catch (MalformedURLException ex) {
- log.warn("failed to load applet background image: " + ex.getMessage() + ", using default");
+ log.warn("cannot load applet background image: " + ex.getMessage());
}
AbstractHelpListener helpListener = null;
@@ -236,7 +236,7 @@ public class BKUApplet extends JApplet {
protected URL getURLParameter(String paramKey, String sessionId) throws MalformedURLException {
String urlParam = getParameter(paramKey);
- if (urlParam != null) {
+ if (urlParam != null && !"".equals(urlParam)) {
URL codebase = getCodeBase();
try {
URL url;