diff --git a/WebContent/META-INF/context.xml b/WebContent/META-INF/context.xml index 2894609..9975ac3 100755 --- a/WebContent/META-INF/context.xml +++ b/WebContent/META-INF/context.xml @@ -9,6 +9,9 @@ + + + + + + \ No newline at end of file diff --git a/WebContent/fragment_header.jsp b/WebContent/WEB-INF/tags/header.tag similarity index 78% rename from WebContent/fragment_header.jsp rename to WebContent/WEB-INF/tags/header.tag index 03838da..0149df3 100644 --- a/WebContent/fragment_header.jsp +++ b/WebContent/WEB-INF/tags/header.tag @@ -16,23 +16,12 @@ - - - - \ No newline at end of file + + \ No newline at end of file diff --git a/WebContent/WEB-INF/tags/messages.tag b/WebContent/WEB-INF/tags/messages.tag new file mode 100644 index 0000000..f291bc1 --- /dev/null +++ b/WebContent/WEB-INF/tags/messages.tag @@ -0,0 +1,34 @@ +<%@tag description="User message template" pageEncoding="UTF-8" %> +<%@taglib uri = "http://java.sun.com/jsp/jstl/core" prefix = "c" %> +<%@tag import="com.example.User" %> +<%@attribute name="user" required="true" type="com.example.User"%> + + + + \ No newline at end of file diff --git a/WebContent/fragment_navbar.jsp b/WebContent/WEB-INF/tags/navbar.tag similarity index 100% rename from WebContent/fragment_navbar.jsp rename to WebContent/WEB-INF/tags/navbar.tag diff --git a/WebContent/fragment_footer.jsp b/WebContent/fragment_footer.jsp deleted file mode 100644 index 691287b..0000000 --- a/WebContent/fragment_footer.jsp +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/WebContent/page_gallery.jsp b/WebContent/page_gallery.jsp index 64651c7..de4b918 100755 --- a/WebContent/page_gallery.jsp +++ b/WebContent/page_gallery.jsp @@ -1,9 +1,23 @@ -<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> +<%@page contentType="text/html" pageEncoding="UTF-8"%> +<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" tagdir="/WEB-INF/tags" %> + + + +