📄 admin.jsp
字号:
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@ page import = "java.util.*" %>
<%--
The taglib directive below imports the JSTL library. If you uncomment it,
you must also add the JSTL library to the project. The Add Library... action
on Libraries node in Projects view can be used to add the JSTL 1.1 library.
--%>
<%--
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
--%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>JSP Page</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 2px;
margin-bottom: 0px;
}
.table_inner_left {
border-bottom-width: 1px;
border-top-style: none;
border-right-style: none;
border-bottom-style: dashed;
border-left-style: none;
border-top-color: #C6C3C6;
border-right-color: #C6C3C6;
border-bottom-color: #C6C3C6;
border-left-color: #C6C3C6;
}
-->
</style></head>
<body>
<table width="80%" height="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<tr valign="top">
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="1" cellpadding="0" bordercolor="#99CC00" >
<tr><td width="139" height="29" class="table_inner_left"> 服务器名:</td>
<td width="603" height="29" class="table_inner_left"><%= request.getServerName ()%></td></tr>
<tr><td height="29" width="139" class="table_inner_left"> 服务器IP:</td>
<td height="29" width="603" class="table_inner_left"><%= request.getRemoteAddr ()%></td></tr>
<tr><td height="29" width="139" class="table_inner_left"> 服务器端口:</td>
<td height="29" width="603" class="table_inner_left"><%= request.getServerPort ()%></td></tr>
<tr><td height="29" width="139" class="table_inner_left"> 服务器时间:</td>
<td height="29" width="603" class="table_inner_left"><%= new Date().toString ()%></td></tr>
<tr><td height="29" width="139" > 站点物理路径:</td>
<td height="29" width="603" ><%= request.getRealPath ("/")%></td></tr>
</table> </td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -