]> git.mxchange.org Git - pizzaservice-war.git/blob - web/bye.jsp
Introduced static/menu.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.pizzaservice.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                 <title><%=PizzaServiceApplication.MAIN_TITLE%> - Sitzung beenden</title>
15         </head>
16
17         <body>
18                 <div id="title">
19                         <h1><%=PizzaServiceApplication.MAIN_TITLE%> - Sitzung beenden</h1>
20                 </div>
21
22                 <div id="menu">
23                         <jsp:include page="static/menu.jsp" flush="true" />
24                 </div>
25
26                 <div id="content_outer">
27                         <div id="content_title">
28                                 <h2>Situng beenden:</h2>
29                         </div>
30
31                         <div id="content">
32                                 <%
33                                 synchronized (session) {
34                                         if (!session.isNew()) {
35                                                 // Not new session
36                                                 session.invalidate();
37                                                 out.println("Sitzung beendet.");
38                                         } else {
39                                                 // New session
40                                                 out.println("Sitzung bereits beendet.");
41                                         }
42                                 }
43                                 %>
44                         </div>
45                 </div>
46         </body>
47 </html>