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