jsp网站开发四“酷”全书原码

源代码在线查看: pers_pwd.jsp

软件大小: 19310 K
上传用户: rentianchou
关键词: jsp 网站
下载地址: 免注册下载 普通下载 VIP

相关代码

				
				
				
				  
				  				oa.bean.PersonBean myBean =null;
				try{
				myBean = new oa.bean.PersonBean();
				     DealString ds = new DealString();
				     String strUserName = ds.toString((String)request.getParameter("txt_id"));
				     String uid = (String)session.getAttribute("zgbh");
					// uid = "11";
				     String  strEdit = ds.toString((String)request.getParameter("txt_edit"));
				  %>
				  				    myBean.setPersonNO(uid);
				    Hashtable hash = (Hashtable)myBean.getOneData();
				    String strname =(String)hash.get("YHM");
				  %>
				
				  
				    修改密码
				  
				    用户名:
				    
				  
				    旧密码:
				     
				  
				    新密码:
				    
				  
				    密码确认:
				    
				  
				    
				       
				
					function toservlet()
					{   		
						var strnewMM =document.all.newuserpwd.value;
						var strconMM =document.all.confirmpwd.value;
				        
						if(strnewMM!=strconMM)
						{
							alert("密码错!");
						}		
						
						else
						{
							document.all.txt_type.value = "7";
							document.all.txt_id.value = "";
							document.all.txt_edit.value = "";
							document.all.form1.action = "../../manageservlet";
							document.all.form1.submit();
						}
				
					}
				
									if(myBean!=null)myBean.closeConn();
				}%>
							

相关资源