diff options
author | mcentner <mcentner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2010-07-28 11:29:32 +0000 |
---|---|---|
committer | mcentner <mcentner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2010-07-28 11:29:32 +0000 |
commit | 41ff25e2ed31fbc2f6300ff27841c3d1341e3e7d (patch) | |
tree | c0f25848bbd9b408329df798fe446b211e657064 /BKUOnline/src/main/webapp/applet.jsp | |
parent | 5004463ffd6b0e42355bdc756939561749f39e79 (diff) | |
download | mocca-41ff25e2ed31fbc2f6300ff27841c3d1341e3e7d.tar.gz mocca-41ff25e2ed31fbc2f6300ff27841c3d1341e3e7d.tar.bz2 mocca-41ff25e2ed31fbc2f6300ff27841c3d1341e3e7d.zip |
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
Diffstat (limited to 'BKUOnline/src/main/webapp/applet.jsp')
-rw-r--r-- | BKUOnline/src/main/webapp/applet.jsp | 29 |
1 files changed, 10 insertions, 19 deletions
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 --%> <fmt:bundle basename="web"> <%-- 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"/ --%> <c:choose> <c:when test="${requestScope.moccaParam.extension == 'activation'}"> - <c:url var="appletArchive" value="BKUAppletExt-single.jar"> - <c:if test="${! empty now}"> - <c:param name="no-cache" value="${now.time}"/> - </c:if> - </c:url> + <c:set var="appletArchive" value="BKUAppletExt-single.jar"/> <c:set var="appletClass" value="at.gv.egiz.bku.online.applet.ActivationApplet.class"/> </c:when> <c:when test="${requestScope.moccaParam.extension == 'pin'}"> - <c:url var="appletArchive" value="BKUAppletExt-single.jar"> - <c:if test="${! empty now}"> - <c:param name="no-cache" value="${now.time}"/> - </c:if> - </c:url> + <c:set var="appletArchive" value="BKUAppletExt-single.jar"/> <c:set var="appletClass" value="at.gv.egiz.bku.online.applet.PINManagementApplet.class"/> </c:when> <c:otherwise> - <c:url var="appletArchive" value="BKUApplet-single.jar"> - <c:if test="${! empty now}"> - <c:param name="no-cache" value="${now.time}"/> - </c:if> - </c:url> + <c:set var="appletArchive" value="BKUApplet-single.jar"/> <c:set var="appletClass" value="at.gv.egiz.bku.online.applet.BKUApplet.class"/> </c:otherwise> </c:choose> +<%-- + Uncomment the following line if you would like to prevent applet caching! +--%> +<%-- jsp:useBean id="now" class="java.util.Date" scope="request"/ --%> +<c:if test="${! empty now}"> + <c:set var="appletArchive" value="${appletArchive}?no-cache=${now.time}"/> +</c:if> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> |