]> git.mxchange.org Git - pizzaservice-war.git/blobdiff - web/errorHandler.jsp
Continued with project:
[pizzaservice-war.git] / web / errorHandler.jsp
index 0f45fade48a1acdd089a23cd8bf3ccb0da6899d6..e733496b67f8c9f14f90828eaa53d6945b90ff09 100644 (file)
 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
 <jsp:useBean id="date" class="java.util.Date" />
 
-<%
-       // Init application instance
-       PizzaApplication app = PizzaServiceApplication.getInstance(application);
-%>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
        <head>
                <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-               <link rel="stylesheet" href="style.css" type="text/css"/>
+               <link rel="stylesheet" href="<%=request.getContextPath()%>/style.css" type="text/css"/>
                <title><%=PizzaServiceApplication.MAIN_TITLE%> - Fehler</title>
        </head>
 
@@ -28,9 +24,7 @@
                        <h1><%=PizzaServiceApplication.MAIN_TITLE%> - Fehler</h1>
                </div>
 
-               <div id="menu">
-                       <jsp:include page="/static/menu.jsp" flush="true" />
-               </div>
+               <jsp:include page="/static/menu.jsp" flush="true" />
 
                <div id="content_outer">
                        <div id="content_title">