Same styling of photo albums as with tapestry based application.
[photos] / src / main / webapp / 404.jsp
1 <%@ page language="java" pageEncoding="UTF-8" session="true"%>
2
3
4
5 <%
6     String path = request.getContextPath();
7     String basePath = request.getScheme() + "://" +
8         request.getServerName() + ":" + request.getServerPort() + path +
9         "/";
10 %>
11
12 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
13 <html>
14
15 <head>
16 <title wicket:id="title">Oops</title>
17
18 <%
19     String cssUrl = request.getContextPath() + "/resources/org.wamblee.photos.wicket.BasePage/photos.css";
20 %>
21
22 <link rel="stylesheet" type="text/css" href="<%= cssUrl %>" />
23 </head>
24
25 <body>
26
27         <div id="banner">
28             <%
29                 String logoUrl = request.getContextPath() + "/resources/org.wamblee.photos.wicket.BasePage/wamblee_logo.png";
30             %>
31         <img src="<%= logoUrl %>" />
32                 <span class="title">wamblee photos</span>
33         </div>
34
35
36     <br/>
37         Oops, the requested URL could not be found.
38         <%
39         String loginUrl = request.getContextPath() + "/login.jsp";
40     %>
41         Please <a href="<%= loginUrl %>">login again</a>
42
43         <%
44             session.invalidate();
45         %>
46 </body>
47 </html>