src/main/webapp/WEB-INF/jspf/error-messages.jspf

Sun, 03 Sep 2023 12:02:44 +0200

author
Mike Becker <universe@uap-core.de>
date
Sun, 03 Sep 2023 12:02:44 +0200
changeset 289
d702bdd4da51
parent 209
c9c6abf167c7
permissions
-rw-r--r--

fonts and styles are now cachable - fixes #286

209
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1 <%--
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2 ~ Copyright 2021 Mike Becker. All rights reserved.
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3 ~
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4 ~ Redistribution and use in source and binary forms, with or without
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5 ~ modification, are permitted provided that the following conditions are met:
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6 ~
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
7 ~ 1. Redistributions of source code must retain the above copyright
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
8 ~ notice, this list of conditions and the following disclaimer.
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
9 ~
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
10 ~ 2. Redistributions in binary form must reproduce the above copyright
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
11 ~ notice, this list of conditions and the following disclaimer in the
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
12 ~ documentation and/or other materials provided with the distribution.
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
13 ~
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
14 ~ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
15 ~ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
16 ~ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
17 ~ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
18 ~ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
19 ~ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
20 ~ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
21 ~ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
22 ~ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
23 ~ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
24 --%>
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
25 <%@page pageEncoding="UTF-8" %>
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
26 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
27
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
28 <div class="error-box hcenter">
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
29 <c:forEach var="errorMessage" items="${viewmodel.errorMessages}">
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
30 <div>
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
31 <c:out value="${errorMessage}"/>
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
32 </div>
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
33 </c:forEach>
c9c6abf167c7 #21 adds input validation mechanism
Mike Becker <universe@uap-core.de>
parents:
diff changeset
34 </div>

mercurial