Edit C:\Users\Administrator\Desktop\Back\galaxie\plugins\service_error.jsp
<% /****************************************************************************** * Copyright (c) 2000-2004 e-Deal * * e-Deal S.A. * 55 rue Brillat Savarin * 75013 Paris * France * * T: +33 (0)1 53 80 80 30 * F: +33 (0)1 73 01 69 77 * http://www.e-deal.com * * La diffusion de ce code source sous quelque forme que ce soit sans * l'autorisation de E-DEAL est interdite. * * Vous êtes autorisés à modifier ce code source uniquement pour votre usage * propre et sous réserve que les mentions de copyright demeurent intactes. * * Ce code est fourni en l'état. Aucune garantie d'aucune sorte, explicite ou * implicite n'est donnée. En aucun cas E-DEAL ne pourra être tenu pour * responsable des dommages pouvant résulter de l'utilisation de ce code * source. * * ******************************************************************************/ %><%@page session="true" import="com.edeal.frontline.*,com.edeal.frontline.services.*,java.util.*" isErrorPage="true"%> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %><% FlServiceException serviceException = (FlServiceException)request.getAttribute("serviceexception"); Exception e = (Exception)request.getAttribute("exception"); FlServiceError error=null; if (serviceException!=null) { error=serviceException.getError(); e=serviceException; } %> <html> <head> <title><fl:getMessage code="L2025" alt="E-DEAL"/> CRM</title> <script> function showTechInfo() { var techHtml = "<html><head>"; techHtml = "<title>Informations techniques / Technical information</title>"; techHtml = "<link rel='stylesheet' href='<fl:webapp/>/css/common.css' type='text/css'></head><body>"; techHtml += " <table class='transparent' border='0' cellpadding='3' cellspacing='3' width='100%'>"; techHtml += " <tr valign='top'>"; techHtml += " <th colspan='2' style='text-align: left'>Informations techniques / <i>Technical information</i></th>"; techHtml += " </tr>"; techHtml += " <tr valign='top'>"; techHtml += " <td class='transparent' width='10%' style='text-align: right;font-weight: bold'>Objet / <i>Object</i> : </td>"; techHtml += " <td class='transparent' width='90%'><%= Utils.formatToWeb(e.getClass(), false) %></td>"; techHtml += " </tr>"; techHtml += " <tr valign='top'>"; techHtml += " <td class='transparent' width='10%' style='text-align: right;font-weight: bold'>Adresse / <i>Address</i> : </td>"; techHtml += " <td class='transparent' width='90%'>" + this.location + "</td>"; techHtml += " </tr>"; techHtml += " <tr valign='top'>"; techHtml += " <td class='transparent' style='text-align: right;font-weight: bold'>Message / <i>Message</i> : </td>"; techHtml += " <td class='transparent'><%= Utils.formatToWeb(e.getMessage(), false) %></td>"; techHtml += " </tr>"; techHtml += " <tr valign='top'>"; techHtml += " <td class='transparent' style='text-align: right;font-weight: bold'>Trace / <i>Stack</i> : </td>"; techHtml += " <td class='transparent'><pre>"; <% String stack = Utils.formatToWeb(e.getStackTrace(), false).replace('\r', ' '); while (stack.length() > 2500) { String line = stack.substring(0, 2500); stack = stack.substring(2500); %> techHtml += "<%= line %>"; <% } %> techHtml += " </pre></td>"; techHtml += " </tr>"; techHtml += " </table>"; techHtml += "</body></html>"; var win = window.open('' , '' , 'menubar=no,status=yes,toolbar=no,scrollbars=yes,resizable=yes,width=700,height=400,screenX=80,screenY=10'); win.document.open(); win.document.write(techHtml); win.document.close(); } </script> </head> <body> <center> <table border="0" cellpadding="1" cellspacing="0" width="95%"> <tr valign="top"> <th> <table class="transparent" border="0" cellpadding="3" cellspacing="3" width="100%"> <tr valign="top"> <th class="title" style="text-align: center" nowrap colspan="2">ERREUR SERVICE / SERVICE ERROR</th> </tr> <% if (error!=null) { %> <tr> <td class="transparent">Service</td> <td style="font-weight: bold"><%= error.getServiceName() %> </tr> <tr> <td class="transparent">Provider</td> <td style="font-weight: bold"><%= error.getProviderId() %> </tr> <tr> <td class="transparent">Error code</td> <td style="font-weight: bold"><%= error.getErrorCode() %> </tr> <tr> <td class="transparent">Error message</td> <td style="font-weight: bold"><%= error.getErrorMessage() %> </tr> <tr> <td class="transparent">Provider Error code</td> <td style="font-weight: bold"><%= error.getProviderErrorCode() %> </tr> <tr> <td class="transparent">Provider Error message</td> <td style="font-weight: bold"><%= error.getProviderErrorMessage() %> </tr> <tr> <td class="transparent">Information</td> <td style="font-weight: bold"><%= error.getAdditionalInformation() %> </tr> <% } %> <tr valign="top"> <tr valign="top"><td class="transparent"> </td></tr> <tr valign="top"> <th> <table class="transparent" border="0" cellpadding="3" cellspacing="3" width="100%"> <tr valign="top"> <td class="transparent" style="text-align: right"> <a href="javascript:showTechInfo()">Informations techniques / Technical information</a><br> </td> </tr> </table> </th> </tr> </table> </center> </body> </html> <% /****************************************************************************** * CVS Log File - This is no longer maintained! * * Revision 1.3 2004/12/13 18:12:38 brian * String were not formatted to web, part deux * * Revision 1.2 2004/12/13 10:42:45 brian * Strings were not formatted to web * * Revision 1.1 2004/07/23 18:21:01 brian * Initial Revision * *****************************************************************************/ %>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de