]> git.mxchange.org Git - pizzaservice-war.git/blob - web/bye.jsp
Added footer for admin area + error include file "direct_call.jsp"
[pizzaservice-war.git] / web / bye.jsp
1 <%-- 
2         Document   : bye
3         Created on : 05.08.2015, 10:51:14
4         Author     : Roland Haeder
5 --%>
6
7 <%--<%@page errorPage="errorHandler.jsp" %>--%>
8 <%@page import="org.mxchange.pizzaapplication.application.PizzaServiceApplication"%>
9
10 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
11 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
12         <head>
13                 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
14                 <link rel="stylesheet" href="<%=request.getContextPath()%>/style.css" type="text/css"/>
15                 <title><%=PizzaServiceApplication.MAIN_TITLE%> - Sitzung beenden</title>
16         </head>
17
18         <body>
19                 <div id="header"> 
20                         <div id="title">
21                                 <h1><%=PizzaServiceApplication.MAIN_TITLE%> - Sitzung beenden</h1>
22                         </div>
23                 </div>
24
25                 <jsp:include page="/static/menu.jsp" flush="true" />
26
27                 <div id="content_outer">
28                         <div id="content_title">
29                                 <h2>Situng beenden:</h2>
30                         </div>
31
32                         <div id="content">
33                                 <%
34                                 synchronized (session) {
35                                         if (!session.isNew()) {
36                                                 // Not new session
37                                                 session.invalidate();
38                                                 out.println("Sitzung beendet.");
39                                         } else {
40                                                 // New session
41                                                 out.println("Sitzung bereits beendet.");
42                                         }
43                                 }
44                                 %>
45                         </div>
46                 </div>
47
48                 <jsp:include page="/static/footer.jsp" flush="true" />
49         </body>
50 </html>