function is_submitxiugai(value){ if(value==1){ var password=prompt("请输入您的密码",""); if(password!=null &&password == ‘${sessionScope.self.user_pwd}‘) { alert(‘输入成功!‘); form3.action="${pageContext.request.contextPath}/UpdateMuJuInfoServlet"; form3.submit(); }else{ alert("密码输入有误,请重新输入!"); } }if(value==2){ form3.action="${pageContext.request.contextPath}/SearchMuJuServlet?type=his"; form3.submit(); } }