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

📄 xt6102.jsp

📁 一个完整的物流系统
💻 JSP
字号:
<%@ page language="java" pageEncoding="gb2312"%>
<%@ page session="false" %>
<%@ taglib uri="http://displaytag.sf.net/el" prefix="display"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html>

<head>
<title>添加新用户页面</title>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<link href="css/content.css" rel="stylesheet" type="text/css">
<link href="css/main_content.css" rel="stylesheet" type="text/css">
<link href="css/button.css" rel="stylesheet" type="text/css">
</head>
<style type="text/css">
<!--
body {
	margin-bottom: 20%;
}
-->
</style>
<script language=javascript>



var http_request;
function send_request() {//初始化、指定处理函数、发送请求的函数
	
	http_request = false;
	//初始化http_request对象
	if (window.ActiveXObject){
		try{ 
        http_request=new ActiveXObject("Msxml2.XMLHTTP"); 
        }catch(e){ 
         try{ 
          http_request=new ActiveXObject("Microsoft.XMLHTTP"); 
          }catch(e){} 
          }
	}
	
	if(!http_request) {
		alert("不能创建XMLHttpRequest 对象实例");
		return false;
	}
	
	http_request.onreadystatechange = processRequest;//XMLHttpRequest创建成功,设置它的回调函数
	var a = xt6102Form.aid.value;
	var url = "XT6102E2S.do?aid="+a;
	if(a!=""){
	http_request.open("post", url, true);
	http_request.send(null);
	}else{
	   alert('请输入登录帐号');
	}
}

function processRequest(){
	if (http_request.readyState == 4){
	  if (http_request.status == 200){
	 	//alert(http_request.responseText);
     document.all.info.innerHTML = http_request.responseText;
	 	 }else{
		 alert("ajax访问失败");
	  }
   }
}






  function checkAid(){
     var a = xt6102Form.aid.value;
     if(a!=null){
        alert(a);
        location.href="<%=basePath%>XT6102E2S.do?aid="+a;
        alert(a+"22222");
     }
  }
</script>

<body style="margin:0px;">
<form name="xt6102Form" method="post" action="XT6102E1S.do" onClick="return goSave()">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="2" class="tr_title4" ><div align="center"></div></td>
  </tr>
  <tr>
  	<td colspan="2">
	<br><br>
<table width="90%" height="85%"  border="0" align="center" cellpadding="4" cellspacing="1" class="title_box_line">
  <tr >
    <td colspan="4" height="4">
    </td>
  </tr>
  <tr align="center">
    <td width="100%" align="center" class="tr_title4" colspan="4" ><font size="3.5" color="#CC00FF" >添加新用户</font></td>
  </tr>
  <tr>
    <td width="20%" align="right" class="title_tr"><font class="word_blue2">登录帐号:</font></td>
    <td colspan="3" class="content_tr"><label for="textfield"></label>
      <input type="text" class="word_blue" name="aid" id="aid" maxlength="30" size="27">
      <font color="red"> * </font>&nbsp;&nbsp;&nbsp; 
      <input name="checkunion" type="button" class="pic_button3" value="检查帐号" onclick="send_request()" />  
      &nbsp;&nbsp;<font id="info" color="red"></font>
    </td>
  </tr>
   <tr>
    <td align="right" class="title_tr"><font class="word_blue2">密 码:</font></td>
    <td colspan="3" class="content_tr"><label for="label"></label>
      <input type="password" class="word_blue" name="apass" id="label" maxlength="25" size="27">
      <font color="red"> * </font>&nbsp;&nbsp;&nbsp;<font color="#003366">请输入长度为6-25位字符之间的密码</font>      </td>
  </tr>
  <tr>
    <td align="right" class="title_tr"><font class="word_blue2">确认密码: </font></td>
    <td  colspan="3" class="content_tr"><label for="label2"></label>
      <input type="password" class="word_blue" name="apass2" id="label2" maxlength="25" size="27">
      <font color="red"> * </font>&nbsp;&nbsp;&nbsp;<font color="#003366">请确认输入的新密码</font>      </td>
  </tr>
  <tr>
    <td align="right" class="title_tr"><font class="word_blue2">用户姓名:</font></td>
    <td colspan="3" class="content_tr"><label for="label3"></label>
      <input type="text" class="word_blue" name="aname" id="label3" maxlength="20" size="27">
      <font color="red"> * </font>      </td>
  </tr>

  <tr>
    <td align="right" class="title_tr"><font class="word_blue2">联系方式:</font></td>
    <td colspan="3" class="content_tr"><label for="label4"></label>
      <input type="text" class="word_blue" name="aconnet" id="label4" maxlength="50" size="27">
      <font color="red"> * </font>&nbsp;&nbsp;&nbsp;<font color="#003366">请输入通讯方式,如:010-6778954或13540354859</font> </td>
  </tr>
  <tr>
    <td align="right" class="title_tr"><font class="word_blue2">所属部门:</font></td>
    <td colspan="3" class="content_tr"><label for="label5"></label>
      <input type="text" class="word_blue" name="adept" id="label5" maxlength="50" size="27">
      <font color="red"> * </font>      </td>
  </tr>
  <tr>
    <td align="right" valign="top" class="title_tr"><font class="word_blue2">职务:</font></td>
    <td colspan="3" class="content_tr"><label for="label6"></label>
      <input type="text" class="word_blue" name="aduty" id="label6" maxlength="20" size="27">
      <font color="red"> * </font>      </td>
  </tr>
  <tr>
    <td align="right" valign="top" class="title_tr"><font class="word_blue2">住址:</font></td>
    <td colspan="3" class="content_tr"><label for="label7"></label>
      <input type="text" class="word_blue" name="aaddr" id="label7" maxlength="60" size="27">
      <font color="red"> * </font>      </td>
  </tr>
  <tr>
    <td align="right" valign="top" class="title_tr"><font class="word_blue2">备注:</font></td>
    <td height="25"  colspan="3" class="content_tr"><textarea name="aremark" rows="6" cols="40" ></textarea></td>
    
  </tr>
</table>	</td>
  <tr>
    <td colspan="2" class="content_tr">
        <div align="center">
          <input name="Submit1" type="submit" class="title_tr" id="Submit16" title="SAVE" value="下一步">
          <input name="reset1" type="reset" class="title_tr" id="reset15" title="Reset" value="重置">
          <input name="reset1" type="button" class="title_tr" id="Submit1" title="SAVE" value="返回" onClick="history.back();">
        </div></td>
  </tr>
  <tr>
    <td colspan="2" class="tr_title4">&nbsp;</td>
  </tr>
</table>
</form>
</body>

</html>
<script language="javascript">
function addC() {
location.href="addCenter.jsp";
}


function goSave(){

return true; 
}
</script>

⌨️ 快捷键说明

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