?? messageinfo.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 'messageInfo.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" rev="stylesheet" href="css/block.css" />
<style type="text/css">
#container{
width:600px;
margin: 0 auto;
position: relative;
top: 20px;
}
#xiexin{
padding-top: 20px;
text-align: center;
}
#menulist li{
float: left;
margin-left: 10px;
border-left: 1px black dotted;
padding-left: 20px;
}
#bodyer{
width: 500px;
}
#first{
margin-left: 20px;
padding-right: 15px;
border: 1px solid #4682B4;
float: left;
width: 50px;
height: 20px;
border-bottom: 0px;
}
#second{
float: left;
border: 1px solid #4682B4;
padding-left: 15px;
border-left: 0;
width: 100px;
height: 20px;
border-bottom: 0px;
}
#third{
float: left;
border: 1px solid #4682B4;
padding-left: 15px;
border-left: 0;
width: 100px;
height: 20px;
border-bottom: 0px;
}
#forth{
float: left;
border: 1px solid #4682B4;
padding-left: 15px;
border-left: 0;
width: 120px;
height: 20px;
border-bottom: 0px;
}
#lastline{
margin-left: 40px;
width:433px;
border: 1px solid #4682B4;
height:25px;
}
</style>
</head>
<body>
<div id="rightWraper">
<div id="container">
<div id="xiexin">
這是由${requestScope.message.sendUser.name}發來的短消息
</div>
具體內容如下:
<div style="margin:25px 10px;">
<textarea cols="80" rows="10">${requestScope.message.content}</textarea>
</div>
<hr />
</div>
</div>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -