【JSP开源代码栏目提醒】:本文主要为网学会员提供err.jsp,希望对需要err.jsp网友有所帮助,学习一下!
<%--
Copyright (c) 2000, 2004 IBM Corporation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
Contributors:
IBM Corporation - initial API and implementation
--%>
<%@ page import="org.eclipse.help.internal.webapp.data.*" contentType="text/html; charset=UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title> Error </title>
</head>
<%
String direction = "ltr";
try{
if(UrlUtil.isRTL(request, response)){
direction = "rtl";
}
}catch(Exception e){
}
%>
<body dir="<%=direction%>">
<%@ page isErrorPage="true" %>
There was an error in your action:
<p>
<%= exception.toString() %>
</p>
</body>
</html>
上一篇:
Epiboly_Index_Update.jsp
下一篇:
爱情只不过就是,爱与不爱