⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 searchothersinfo.jsp

📁 java 聊天程序 源码 简单精美 java实现一个网络聊天室
💻 JSP
字号:
<%@ page language="java" contentType="text/html; charset=GB2312"    pageEncoding="GB2312"%><!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=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></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[] allUser=chatbase.getAllUserNames();

%>
<div id="Layer1">
<form action="specifyUserInfo.jsp">
<table border=1 bgcolor="#F9F0B7" align="left"  bordercolor="#000000"   style="font-size:15px; font-family:'宋体'">
	<%for(int i=0;i<allUser.length;i++){%>
	<tr>
	  <td  width="200"  align="left"><img src="<%=chatbase.getFace(allUser[i])%>"><%=allUser[i]%></td>
	  <td  width="200"  align="center"><input  name="people" type="radio" value="<%=allUser[i]%>"></td>
	</tr>
	<%} %>
	<tr><td colspan="2" align="center"><input type="submit" value="查看该用户信息"></td></tr>
</table>
</form>
</div></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -