First Commit - Source Code from Reply
This commit is contained in:
81
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/GUI/ErrorJSP.jsp
Normal file
81
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/GUI/ErrorJSP.jsp
Normal file
@@ -0,0 +1,81 @@
|
||||
<%@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"> </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> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
</TABLE>
|
||||
|
||||
|
||||
|
||||
<!-- tabella x menu verticale-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user