From 2c75feddfeb4bb067c3b783c3bc9f3c2b65fe845 Mon Sep 17 00:00:00 2001 From: Ziver Koc Date: Tue, 14 Aug 2018 12:14:59 +0200 Subject: [PATCH] some work on main page --- WebContent/WEB-INF/tags/header.tag | 26 ++++++------ WebContent/WEB-INF/tags/navbar.tag | 2 +- WebContent/page_gallery.jsp | 66 ++++++++++++++++-------------- WebContent/page_login.jsp | 6 ++- WebContent/page_register.jsp | 6 ++- src/zall/ZalleryConstants.java | 15 +++---- src/zall/ZalleryServlet.java | 9 ++-- 7 files changed, 72 insertions(+), 58 deletions(-) diff --git a/WebContent/WEB-INF/tags/header.tag b/WebContent/WEB-INF/tags/header.tag index 57b52fc..9fac7d4 100644 --- a/WebContent/WEB-INF/tags/header.tag +++ b/WebContent/WEB-INF/tags/header.tag @@ -1,7 +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” %> +<%@ 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" required="false" %> @@ -10,24 +10,24 @@ - ${WEBSITE_NAME} + ${WEBSITE_TITLE} - - + + - - - - - + + + - \ No newline at end of file + + + \ No newline at end of file diff --git a/WebContent/WEB-INF/tags/navbar.tag b/WebContent/WEB-INF/tags/navbar.tag index adcd25b..4ceab58 100644 --- a/WebContent/WEB-INF/tags/navbar.tag +++ b/WebContent/WEB-INF/tags/navbar.tag @@ -11,7 +11,7 @@ - Project name + ${WEBSITE_NAME}