Files
gateway-mnp-dbc/dbcmnpsrc/FE/mnpdev/mnp/web/jsp/GUI/ErrorJSP.jsp
2024-05-13 12:54:14 +02:00

82 lines
1.6 KiB
Plaintext

<%@page isErrorPage="true" %>
<%@page import = "java.io.*, java.lang.*, mnp.objects.*, mnp.objects.ui.*, mnp.exception.*"%>
<%@page import = "mnp.utility.ui.Res"%>
<html>
<head>
<title>
ErrorJSP
</title>
<jsp:useBean id="resultBean" scope="request" class="java.lang.Exception" />
<%
Exception myEx = new Exception();
%>
</HEAD>
<BODY>
<!-- riga rossa orizzontale -->
<table width = "100%">
<TR><td width = "100%" bgcolor = "#D61414">&nbsp</td><TR>
</table>
<!-- colonna di menu verticale -->
<table width = "100%" border = "0">
<tr>
<td HEIGHT = "100%" width = "10%" bgcolor = "#D61414" valign = "top">
<IMG src ="<%=Res.ApplContext%>/images/LogoTim.gif">
</td>
<td align = "right" valign = "top" width = "90%">
<!-- td dove scrivere i dati a destra -->
<!-- titolo a destra -->
<BR>
<b><i><FONT face = "Arial" color = "#455598" size = 4>GUI</Font></i></b>
<!-- tabella dei dati -->
<TABLE border = 0 align = "center" width = "100%">
<tr>
<td width = "90%">
<font color = "#455598">
<%
if(resultBean!=null) {
myEx= resultBean;
myEx.printStackTrace();
}
%>
Attenzione!<br />
Impossibile visualizzare la pagina causa:
<% if(resultBean.getMessage()!=null){
%>
<hr><h3><b><%=myEx.getMessage()%></b></h3><br><hr></font>
<%}
else{%>
<hr><h3><b>Messaggio dell'errore non disponibile!</b></h3><br><hr>
<%}%>
</font> </td>
</tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
</TABLE>
<!-- tabella x menu verticale-->
</td>
</tr>
</table>
</body>
</html>