From 0c05dd0c277b7671ac52cfc6721b5936784c17aa Mon Sep 17 00:00:00 2001 From: Ziver Koc Date: Mon, 13 Aug 2018 21:51:19 +0200 Subject: [PATCH] Added env var eys to ZalleryCOnstants and some work on tag files --- WebContent/META-INF/context.xml | 4 ++-- WebContent/WEB-INF/tags/header.tag | 5 ++++- WebContent/page_gallery.jsp | 4 ++-- src/zall/Zallery.java | 20 ++++++++++---------- src/zall/ZalleryConstants.java | 10 ++++++++++ src/zall/ZalleryServlet.java | 7 +++++++ src/zall/manager/EmailManager.java | 6 +++--- src/zall/page/GalleryServlet.java | 2 +- 8 files changed, 39 insertions(+), 19 deletions(-) diff --git a/WebContent/META-INF/context.xml b/WebContent/META-INF/context.xml index 9975ac3..1411997 100755 --- a/WebContent/META-INF/context.xml +++ b/WebContent/META-INF/context.xml @@ -2,10 +2,10 @@ - + - + diff --git a/WebContent/WEB-INF/tags/header.tag b/WebContent/WEB-INF/tags/header.tag index be1c21a..57b52fc 100644 --- a/WebContent/WEB-INF/tags/header.tag +++ b/WebContent/WEB-INF/tags/header.tag @@ -1,6 +1,7 @@ <%@tag description="Header template" pageEncoding="UTF-8" %> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@taglib prefix="t" tagdir="/WEB-INF/tags" %> +<%@attribute name=”showMessages” %> @@ -9,7 +10,7 @@ - Koc.se + ${WEBSITE_NAME} @@ -24,6 +25,8 @@ + + diff --git a/WebContent/page_gallery.jsp b/WebContent/page_gallery.jsp index e55791b..5f86769 100755 --- a/WebContent/page_gallery.jsp +++ b/WebContent/page_gallery.jsp @@ -21,9 +21,9 @@ $(function(){