<%--
  /**
   * Copyright (c) 2003 by Sun Microsystems, Inc. All rights reserved.
   * Use is subject to license terms.
   *
   * "@(#)Error.jsp    1.4    03/05/14     SMI"
   * 
   */
 --%>
<%
//
// check to see if the locale is set to one of the
// double-byte character set languages.	 if so,
// then set the html header ContentType	 to
// the UTF-8 character set.  this is necessary
// because Netscape 4.79 does not render font
// sizes properly for the UTF-8 character set.
//
java.util.Locale loc=request.getLocale();
String str = loc.toString();
String charset="text/html; charset=ISO-8859-1";
if (str.equals("ja") || str.equals("ja_JP") ||
    str.equals("zh") || str.equals("zh_CN")) {
    charset="text/html; charset=UTF-8";
}
response.setContentType(charset);
%>

<%@ page isErrorPage="true" %>
<%-- taglibs --%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>
<%@ taglib uri="/WEB-INF/component.tld" prefix="component" %>
<%-- end taglibs --%>

<html:html locale="true">
<head>
</head>
<body>
<% try { %>
<%  com.sun.netstorage.array.mgmt.cfg.core.exception.ConfigMgmtException cme =
	new com.sun.netstorage.array.mgmt.cfg.core.exception.ConfigMgmtException (
		"error.system.standard", "Exception on JSP page");
cme.addExceptionContext("ROOT CAUSE:" + exception.toString());
com.sun.netstorage.array.mgmt.cfg.core.Trace.error(this, cme);
%>
<table border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="6"><img alt border="0" height="20" src="/images/general/dot.gif"
width="1"></td>
  </tr>
  <tr>
    <td colspan="6"></td>
  </tr>
  <tr>
    <td><img alt border="0" height="1" src="/images/general/dot.gif" width="40"></td>
    <td><img alt border="0" height="1" src="/images/general/dot.gif" width="80"></td>
    <td nowrap colspan="4">
	<table><tr><td>
		<table border="0" cellspacing="0" cellpadding="2" align="left"
bgcolor="#9999CC">
                <tr>
		<td>
                  <table cellspacing="0" cellpadding="5" border="0"  bgcolor="#FFFFFF">
		  <tr>
                    <td valign=\"top\">
                      <img src="images/icons/error_16.gif" width=\"16\" height=\"16\"
alt="Error" border="0">
                    </td>
                    <td>
                    <div class="error-message-header-text"><b>
                       <font color="red">
                        <bean:message key="error.system.standard"/>
                       </font></b>
                    </div>
                    </td>
                   </tr>
                  </table>
                 </td>
                 </tr>
                 </table></td></tr><tr><td>
		<img src="images/general/dot.gif" width="1" height="2" border="0"/>
		</td></tr></table>
    </td>
  </tr>
  <tr>
    <td colspan="6"><img alt border="0" height="10" src="/images/general/dot.gif"
width="1"></td>
  </tr>
</table>
<% } catch (Throwable t) {
     com.sun.netstorage.array.mgmt.cfg.core.Trace.verbose(this, "Exception on error page", t);
} %>
</body>
</html:html>
