From 41ff25e2ed31fbc2f6300ff27841c3d1341e3e7d Mon Sep 17 00:00:00 2001 From: mcentner Date: Wed, 28 Jul 2010 11:29:32 +0000 Subject: Fixed issues with help URLs and applet caching which where introduced with changes to [#MOCCA-745]. git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@797 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- .../main/java/at/gv/egiz/bku/gui/HelpListener.java | 2 +- BKUOnline/src/main/webapp/applet.jsp | 29 ++++++++-------------- 2 files changed, 11 insertions(+), 20 deletions(-) diff --git a/BKUCommonGUI/src/main/java/at/gv/egiz/bku/gui/HelpListener.java b/BKUCommonGUI/src/main/java/at/gv/egiz/bku/gui/HelpListener.java index a0ab2d77..9bfd89ae 100644 --- a/BKUCommonGUI/src/main/java/at/gv/egiz/bku/gui/HelpListener.java +++ b/BKUCommonGUI/src/main/java/at/gv/egiz/bku/gui/HelpListener.java @@ -72,7 +72,7 @@ public class HelpListener implements MouseListener, KeyListener, HelpURLProvider @Override public synchronized String getHelpURL() { try { - URL helpURL = new URL(baseURL, (helpTopic != null) ? "index.html" : helpTopic + ".html"); + URL helpURL = new URL(baseURL, (helpTopic == null) ? "index.html" : helpTopic + ".html"); log.debug("Return help url: {}.", helpURL); return helpURL.toString(); } catch (MalformedURLException e) { diff --git a/BKUOnline/src/main/webapp/applet.jsp b/BKUOnline/src/main/webapp/applet.jsp index 5782c6af..1c2754fb 100644 --- a/BKUOnline/src/main/webapp/applet.jsp +++ b/BKUOnline/src/main/webapp/applet.jsp @@ -46,36 +46,27 @@ <%-- Messages --%> <%-- Applet archive and class --%> -<%-- - Uncomment the following line if you would like to prevent applet caching! ---%> -<%-- jsp:useBean id="now" class="java.util.Date" scope="request"/ --%> - - - - - + - - - - - + - - - - - + +<%-- + Uncomment the following line if you would like to prevent applet caching! +--%> +<%-- jsp:useBean id="now" class="java.util.Date" scope="request"/ --%> + + + -- cgit v1.2.3