用jsp实现网络聊天的bbs代码

源代码在线查看: down.jsp

软件大小: 134 K
上传用户: archimedes88
关键词: jsp bbs 网络 代码
下载地址: 免注册下载 普通下载 VIP

相关代码

				
				
				排行榜
				
				
				
				
				
				
				
								OPDB.connection();
				Connection conn = OPDB.getConn();
				String sql = "select username,experience,userlevel,usertype from t_bbs_user  where rownum				ResultSet rs = OPDB.select(conn,sql);
				int id = 0;
				%>
				
				  
				  
				    
				  
				  
				    				    width=1>
				  
				  
				    
				      
														while (rs.next()) {
								id++;
								String userName = OPDB.GBK(rs.getString("username"));
								int experience = rs.getInt("experience");
								String userlevel = OPDB.GBK(rs.getString("userlevel"));
								String userType = rs.getString("usertype");
								if (userType.equals("Y")) {
									userType = "会员";
								}
								else {
									userType = "非会员";
								}
								out.print("");
								out.print("");
								out.print(""+userName+"");
								out.print(""+userlevel+"");
								out.print(""+experience+"");
								out.print(""+userType+"");
								out.print("");
							}
							rs.close();
							OPDB.Close();
							%>
				      
				    
				  
				
							

相关资源