-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSystemError.jsp
executable file
·63 lines (63 loc) · 2.03 KB
/
SystemError.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-form.tld" prefix="form" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ page isErrorPage="true" %>
<%@ page import="org.apache.log4j.*" %>
<html:html>
<head>
<title>Erreur système - KiCsa - Orange France</title>
<link rel="STYLESHEET" type="text/css" href="../OrangeWeb.css">
</head>
<body>
<%@ include file="Header.jsp" %>
<table border="0" ellpadding="0" cellspacing="0" align="center">
<tbody>
<tr>
<td valign="top" > </td>
</tr>
<tr>
<td valign="middle">
<table border="0" cellspacing="1" cellpadding="0">
<tbody>
<tr>
<td >
<p> <font class="seize">Une erreur est intervenue au sein
de l'application. Veuillez nous en excuser.</font></p>
<%
Logger log = Logger.getLogger (this.getClass());
long incidentNumber = System.currentTimeMillis();
log.error ("Incident #" + incidentNumber + " pour le client " + request.getRemoteHost() + " (IP " + request.getRemoteAddr() + ") : " + exception);
exception.printStackTrace();
%>
<p>Une trace de l''exécution a été communiquée
à l'administrateur de l'application.</p>
<p>Votre code incident est <strong<<%= incidentNumber %></strong>.</p>
</td>
<td> </td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td align="center"> </td>
<td align="center"> <a href="javascript:history.go(-1);"><img src="../images/retour.gif" width="79" height="26" border="0"></a></td>
<td align="center"> </td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td> </td>
</tr>
</tbody>
</table>
</body>
</html:html>