JAVA数据库编程实例源码及其一些Java基本介绍

源代码在线查看: chat.jsp

软件大小: 3890 K
上传用户: huanzhudev
关键词: JAVA Java 数据库 编程实例
下载地址: 免注册下载 普通下载 VIP

相关代码

				
				
				
				   
				      
				         聊天室--在线交流--
				         				         String chatroom;
				         chatroom=request.getParameter("chatroom");
				         if (chatroom.equals("1")) out.print("聊天室A");
				         if (chatroom.equals("2")) out.print("聊天室B");
				         int intChatroom=Integer.parseInt(chatroom);
				         %>
				      
				   
				
				
								  if (thisUser.getUserName() != null)
				    {thisUser.setPosition(chatroom);
				     thischatroom.addUserList(thisUser.getUserId(),thisUser.getUserName(),thisUser.getUserTime(),thisUser.getUserPosion(),thisUser.getUserSwjg(),thisUser.getUserSfks(),intChatroom);
				     thischatroom.addSpeaking("","","",thisUser.getUserName(),"","","red","system",intChatroom);
				%>
				    
				       
				          
				          
				       
				       
				    
								    }
				    else out.print("尚未登录,进入用户登录");
				%>
							

相关资源