home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.disi.unige.it
/
2015-02-11.ftp.disi.unige.it.tar
/
ftp.disi.unige.it
/
pub
/
.person
/
CataniaB
/
teach-act
/
DB3
/
servlet-bean-jsp
/
error.jsp
< prev
next >
Wrap
Text File
|
2001-04-02
|
763b
|
36 lines
<%@ page isErrorPage="true" %>
<%@ page import="java.io.StringWriter" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>
Errore!
</title>
</head>
<body>
<h2>
Pagina per il trattamento dell'errore:<br>
</h2>
<h3>
È stata generata la seguente eccezione:
</h3>
<pre> <%= exception %> </pre>
<hr>
<h3>
Lo stack è il seguente:<br>
</h3>
<pre>
<%
StringWriter writer = new StringWriter();
exception.printStackTrace(new PrintWriter(writer));
out.println(writer.getBuffer());
%>
</pre>
</body>
</html>