📄 404.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP '500.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
<script type="text/javascript">
function goback()
{
window.history.go(-1);
}
function MessageNull()
{
document.all.message.value='';
}
</script>
<link rel="stylesheet" href="/xjusoft/css/global.css" type="text/css"></link>
</head>
<body>
<div style="width: 820px; border: 1px solid;">
<div style="height: 40px;"></div>
<div align="left"
style="margin: 50px 120px; border: 1px dashed; padding: 8px; background: #eaeaea">
出错了.
<br>
<hr style="width: 60%;" align="left" />
你访问的页面不存在,请谅解!!
<br />
<hr />
5秒钟后返回
<a href="/xjusoft/index.jsp" style="color: f00">主页</a>
<br>
你也可以
<a href="" onclick="goback()" style="color: f00">点击这里返回</a>
</div>
<div>
<form action="">
<textarea name="message" cols="60" rows="6" onclick="MessageNull()" >请写下你对该错误的描述,或意见,
谢谢!!
</textarea>
<input type="submit" value="发送.."/>
</form>
</div>
<div>
<jsp:include page="../inc/global/foot.jsp" />
</div>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -