📄 specifyuserinfo.jsp
字号:
<%@ page language="java" contentType="text/html; charset=GB2312"
pageEncoding="GB2312"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312">
<title>Insert title here</title>
<style type="text/css">
<!--
#Layer1 {
position:absolute;
left:25px;
top:48px;
width:300px;
height:250px;
z-index:1;
background:#F9F0B7;
}
-->
</style>
<script type="text/javascript">
function esc(){
window.close();
}
function toSearchPage(){
window.location.href="searchOthersInfo.jsp"
}
</script>
</head>
<body>
<jsp:useBean id="chatbase" scope="application" class="tryChat.DataBaseOfChatRoom"></jsp:useBean>
<jsp:useBean id="userInfo" scope="session" class="tryChat.CurrentlyUser"></jsp:useBean>
<jsp:useBean id="chatHome" scope="application" class="tryChat.ChatHome"></jsp:useBean>
<%
String name=request.getParameter("people");
name=new String(name.getBytes("iso-8859-1"),"GBK");
String sex=chatbase.getSex(name);
String face=chatbase.getFace(name);
String emile=chatbase.getEmile(name);
String qq=chatbase.getQQ(name);
String province=chatbase.getCountryAndProvince(name);
String favore=chatbase.getFavore(name);
%>
<div id="Layer1">
<form name="login" onSubmit="return checkInfo()">
<table border=1 bgcolor="#F9F0B7" align="left" bordercolor="#000000" style="font-size:15px; font-family:'宋体'">
<tr>
<td> 姓名:</td><td><input type=image name='userface' src="<%=face%>" disabled="ture"><%=name%></td>
</tr>
<tr>
<td><font color=red>*</font>性别:</td><td>
<%if(sex.equals("man")){%>男<%} %>
<%if(sex.equals("woman")){%>女<%} %></td>
</tr>
<tr>
<td><font color=red>*</font>电子邮箱:</td><td><input name="Emile" type="text" size="20" maxlength="20"value="<%=emile%>" readonly="true"></td>
</tr>
<tr>
<td>QQ:</td><td><input name="QQ" type="text" size="20" maxlength="15"value="<%=qq%>" readonly="true"></td>
</tr>
<tr>
<td>国家省份</td><td><input name="Province" type="text" size="20" maxlength="10"value="<%=province%>" readonly="true"></td>
</tr>
<tr>
<td colspan="2" align="center"><textarea name="Area" cols="30" rows="5" title="用户留言(不超过50字)" readonly="true"><%=favore%></textarea></td>
</tr>
<tr>
<td><input type="button" value="继续查看用户信息" onclick="toSearchPage()"></td>
<td><input type="button" value="关闭窗口" onclick="esc()"></td>
</tr>
</table>
</form>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -