📄 error.jsp
字号:
<%-- Errors.jsp - Display unexpected errors, such as a JSP exception or missing resources --%><%-- $Header: /home/cvs/jakarta-struts/web/example/Error.jsp,v 1.1 2004/03/09 04:38:05 husted Exp $ $Revision: 349045 $ $Date: 2005-11-25 16:24:47 -0800 (Fri, 25 Nov 2005) $ Copyright 2000-2004 Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.--%><%@ page contentType="text/html;charset=UTF-8" language="java" %><%@ page import="org.apache.struts.Globals" %><%@ page import="org.apache.struts.webapp.example.Constants" %><%@ taglib uri="/tags/struts-bean" prefix="bean" %><%@ taglib uri="/tags/struts-html" prefix="html" %><%@ taglib uri="/tags/struts-logic" prefix="logic" %><html:html><head><title>Unexpected Error</title><html:base/></head><h3>An unexpected error has occured</h3><logic:present name="<%=Constants.ERROR_KEY%>"><ul><logic:iterate id="error" name="<%=Constants.ERROR_KEY%>"><li><bean:write name="error" /></li></logic:iterate></ul></logic:present><logic:present name="<%=Globals.EXCEPTION_KEY%>"><p><bean:write name="<%=Globals.EXCEPTION_KEY%>" property="message" /></p></logic:present></body></html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -