-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherror.jsp
47 lines (43 loc) · 1.59 KB
/
error.jsp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page isErrorPage="true" %>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Pet Sharing Platform</title>
<!-- Include Bootstrap CSS -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<!-- Include Bootstrap Datepicker CSS -->
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/css/bootstrap-datepicker.min.css">
<link
href="https://fonts.googleapis.com/css?family=Quicksand:400,700&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="css/listapet.css">
<!-- Add custom styles for the background color -->
</head>
<body id="bodylisting">
<header>
<%@ include file="navbar.jsp" %>
</header>
<div class="container theme-showcase" role="main">
<div class="page-header">
<h1>Oops something went wrong</h1>
</div>
<style>
.centered {
position: fixed;
top: 40%;
}
</style>
<div class="row">
<div class="col-10 offset-1 col-md-4 offset-md-2 centered">
<h2>Description</h2>
<% if(exception != null) { %>
<p><code><%=exception %></code></p>
<% } %>
</div>
</div>
</div>
<%@ include file="footer.jsp" %>
</body>