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

📄 addcustomer.jsp

📁 一个关于商业的网站
💻 JSP
字号:
<% String positId = request.getParameter("poId");%>
<script language=javascript>
 function checkInput(){
   if(document.form1.custName.value == ""){
     alert("Please input the Customer Name!");
     document.form1.custName.focus();
     return false;
   } 
   if(document.form1.degree.value == ""){
     alert("Please input the Degree of the Customer!");
     document.form1.degree.focus();
     return false;
   } 
   if(document.form1.email.value == ""){
     alert("Please input the EMail of the Customer!");
     document.form1.email.focus();
     return false;
   } 
 }
</script>

<html>
<head>
<title>Add Customer</title>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<style type="text/css">
<!--
A { text-decoration: none; }
A:hover	{ color:#FF3300; }
.normal { text-decoration: underline; color:#0033cc; }
.subject { font-family: verdana; }
.subjectOn { font-family: verdana; font-weight: bold; }
.username { font-family: verdana; color: #000000; }
.usernameOn { font-family: verdana; color: #000000; font-weight: bold; }
.datetime { font-family: verdana; color: #333333; }
.datetimeOn { font-family: verdana; color: #333333; font-weight: bold; }
.dateTimeList { font-family: verdana; color: #666666; text-align: center; }
.dateTimeListToday { font-family: verdana; color: #ff6600; text-align: center; }
.breadcrumbBox { font-family: verdana; font-size: 9pt; color: #0033cc; font-weight: bold;}
.messageNav { font-size: 7pt; font-family: verdana;}
.messageNavButton { font-size: 8pt;font-family: verdana;}
-->
</style>
</HEAD>

<BODY bgColor=#ffffff leftMargin=0 text=#000000 topMargin=0 MARGINWIDTH="0" MARGINHEIGHT="0">
  <TABLE bgColor=#ffffff border=0 cellPadding=0 cellSpacing=0 width="100%">
	<tr><jsp:include page="../header.jsp" flush="true"/> </tr>
  </TABLE>            
<form action="insertcustomer.jsp" name="form1" method="POST" onSubmit="return checkInput()">          
  <table border="0" width="100%">         
    <tr>         
      <td width="100%" align = center><b>Please put in the position information:</b><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#FF0000">(*request)</font></td>        
    </tr>        
    <tr>        
      <td width="100%">        
        <table border="0" width="100%" height="113">        
          <tr>        
            <td width="15%" height="18" align=right><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Customer Name:</font></td>        
            <td width="85%" height="18"><input type="text" name="custName" size="40"><font color="#FF0000">*</font></td>       
          </tr>       
          <tr>       
            <td width="15%" height="18" align=right><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Gender:</font></td>        
            <td width="85%" height="18"><input type="text" name="gender" size="40"></td>       
          </tr>       
          <tr>       
            <td width="15%" height="18" align=right><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Age:</font></td>       
            <td width="85%" height="18"><input type="text" name="age" size="40"></td>       
          </tr>       
          <tr>       
            <td width="15%" height="18" align=right><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Stature:</font></td>       
            <td width="85%" height="18"><input type="text" name="stature" size="40">cm</td>       
          </tr>       
          <tr>       
            <td width="15%" height="18" align=right><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Nation:</font></td>       
            <td width="85%" height="18"><input type="text" name="nation" size="40"></td>       
          </tr>       
          <tr>       
            <td width="15%" height="18" align=right><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">BornPlace:</font></td>       
            <td width="85%" height="18"><input type="text" name="bornPlace" size="40"></td>       
          </tr>       
          <tr>       
            <td width="15%" height="18" align=right><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Politics:</font></td>       
            <td width="85%" height="18"><input type="text" name="politics" size="40"></td>       
          </tr>       
          <tr>       
            <td width="15%" height="18" align=right><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Marriage:</font></td>       
            <td width="85%" height="18"><input type="text" name="marriage" size="40"></td>       
          </tr>       
          <tr>       
            <td width="15%" height="18" align=right><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">IDCard:</font></td>       
            <td width="85%" height="18"><input type="text" name="idCard" size="40"></td>       
          </tr>       
          <tr>       
            <td width="15%" height="18" align=right><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Duty:</font></td>       
            <td width="85%" height="18"><input type="text" name="duty" size="40"></td>       
          </tr>       
          <tr>       
            <td width="15%" height="18" align=right><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Degree:</font></td>       
            <td width="85%" height="18"><input type="text" name="degree" size="40"><font color="#FF0000">*</font></td>       
          </tr>       
          <tr>       
            <td width="15%" height="18" align=right><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">ForeignLanguage:</font></td>       
            <td width="85%" height="18"><input type="text" name="language" size="40"></td>       
          </tr>       
          <tr>       
            <td width="15%" height="18" align=right><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">ForeignLevel:</font></td>       
            <td width="85%" height="18"><input type="text" name="fLevel" size="40"></td>       
          </tr>       
          <tr>       
            <td width="15%" height="18" align=right><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">ComputerLevel:</font></td>       
            <td width="85%" height="18"><input type="text" name="compLevel" size="40"></td>       
          </tr>       
          <tr>       
            <td width="15%" height="18" align=right><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">School:</font></td>       
            <td width="85%" height="18"><input type="text" name="school" size="40"></td>       
          </tr>       
          <tr>       
            <td width="15%" height="18" align=right><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Major:</font></td>       
            <td width="85%" height="18"><input type="text" name="major" size="40"></td>       
          </tr>       
          <tr>       
            <td width="15%" height="18" align=right><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">DocumentPlace:</font></td>       
            <td width="85%" height="18"><input type="text" name="document" size="40"></td>       
          </tr>       
          <tr>       
            <td width="15%" height="18" align=right><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">PresentPlace:</font></td>       
            <td width="85%" height="18"><input type="text" name="present" size="40"></td>       
          </tr>       
          <tr>       
            <td width="15%" height="18" align=right><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">WorkedYear:</font></td>       
            <td width="85%" height="18"><input type="text" name="workedYear" size="40"></td>       
          </tr>       
          <tr>       
            <td width="15%" height="18" align=right><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Wage:</font></td>       
            <td width="85%" height="18"><input type="text" name="wage" size="40"></td>       
          </tr>       
          <tr>       
            <td width="15%" height="18" align=right><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Address:</font></td>       
            <td width="85%" height="18"><input type="text" name="address" size="40"></td>       
          </tr>       
          <tr>       
            <td width="15%" height="18" align=right><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Zip:</font></td>       
            <td width="85%" height="18"><input type="text" name="zip" size="40"></td>       
          </tr>       
          <tr>       
            <td width="15%" height="18" align=right><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Telephone:</font></td>       
            <td width="85%" height="18"><input type="text" name="telephone" size="40"></td>       
          </tr>       
          <tr>       
            <td width="15%" height="18" align=right><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">EMail:</font></td>       
            <td width="85%" height="18"><input type="text" name="email" size="40"><font color="#FF0000">*</font></td>       
          </tr>       
          <tr>       
            <td width="15%" height="18" align=right><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Resume:</font></td>       
            <td width="85%" height="18"><textarea rows="8" name="resume" cols="40"></textarea></td>       
          </tr>       
          <tr>       
            <td width="15%" height="18" align=right><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Relation:</font></td>       
            <td width="85%" height="18"><textarea rows="8" name="relation" cols="40"></textarea></td>       
          </tr>       
          <tr>       
            <td width="15%" height="18" align=right><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Request:</font></td>       
            <td width="85%" height="18"><textarea rows="8" name="req" cols="40"></textarea></td>       
          </tr>       
        </table>      
      </td>      
    </tr>      
    <tr>      
      <td width="100%">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;      
        <input type=Hidden name=positionId value=<%=positId%>>
        <input type="submit" value="Submit" name="sendData" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;      
        <input type="reset" value="Reset" name="clear"></td>     
    </tr>     
  </table>     
  </form>    
  <TABLE bgColor=#ffffff border=0 cellPadding=0 cellSpacing=0 width="100%">
	<tr><jsp:include page="../footer.jsp" flush="true"/> </tr>
  </table> 
</body>         
</html>

⌨️ 快捷键说明

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