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

📄 register.jsp

📁 主要是航空预订系统
💻 JSP
字号:
<%@ page language="java" contentType="text/html; charset=gbk"
    pageEncoding="gbk"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html:html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk">
<title>Insert title here</title>
<script type="text/javascript" src="../js/check.js"></script>
<script type="text/javascript" language="javascript">

</script>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
  <tr>
    <td valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td><table width="955" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td height="23" background="../images/main01.jpg">&nbsp;</td>
              <td width="933" height="23" background="../images/main03.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="3%"><img src="../images/coin.gif" width="19" height="19" /></td>
                  <td width="88%" height="25"><strong><span class="STYLE1"><bean:message key="label.login.register"/></span></strong></td>
                  <td width="9%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      
                  </table></td>
                </tr>
              </table></td>
              <td width="12"><img src="../images/main02.jpg" width="12" height="25" /></td>
            </tr>
          <tr>
            <td height="400" colspan="3" background="../images/bbb.jpg" bgcolor="#FFFFFF"><table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
             
            </table>
 <html:form action="/registerAction.do" method="post" onsubmit="return register();" target="_top">
 <table width="100%" height="605" border="0">
  <tr>
    <th height="33" colspan="4" bgcolor="#0066CC" scope="col"><div align="left"><span class="STYLE2"><bean:message key="label.register.welcomeregister"/></span></div></th>
  </tr>
  <tr>
    <td colspan="4"><span class="STYLE4"><bean:message key="label.register.baseInfo"/></span></td>
  </tr>
  <tr>
    <td width="136" height="30"><bean:message key="label.login.username"/>:</td>
    <td colspan="2">
      <input type="text" id="username" name="username" value="" onblur="checkUserName()">
      <span class="STYLE5">*</span>
    </td>
    <td><div id="usernamediv" style="display:block"/></td>
    <td width="342"><bean:message key="label.register.usernametip"/></td>
  </tr>
  <tr>
    <td height="31"><bean:message key="label.login.password"/>:</td>
   <td colspan="2">
      <input type="password" name="password" id="password" value="" onblur="checkPassword()">
      <span class="STYLE5">*</span></td>
   <td><div id="passworddiv" style="display:block"/></td>
   <td><bean:message key="label.register.newpassword"/></td>
  </tr>
  <tr>
    <td height="31"><bean:message key="label.register.configpassword"/>:</td>
    <td colspan="2">
      <input type="password" id="configpassword" name="configpassword" value="" onblur="checkConfigPassword()">
      <span class="STYLE5">*</span></td>
    <td><div id="configpassworddiv" style="display:block"/></td>
  </tr>
  <tr>
    <td height="31"><bean:message key="label.register.pwdtipquestion"/>:</td>
    <td colspan="2">
        <html:select property="question">
            <html:option value="0">请选择</html:option>
        	<html:option value="高中母校">高中母校</html:option>
        	<html:option value="就读的大学">就读的大学</html:option>
        	<html:option value="实习的单位">实习的单位</html:option>
        </html:select>
	</td>
    <td></td>
    <td><bean:message key="label.register.pwdtipquestiontip"/></td>
  </tr>
  <tr>
    <td height="32"><bean:message key="label.register.pwdtipanswer"/>:</td>
    <td colspan="2"><html:text property="answer"/></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3"><span class="STYLE4"><bean:message key="label.register.detailinfo"/></span></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td height="32"><bean:message key="label.register.chinaname"/>:</td>
    <td colspan="2">
      <input type="text" id="name" name="name" value="" onblur="javascript:checkName()">
      <span class="STYLE5">*</span></td>
    <td><div id="chinanamediv" style="display:block"/></td>
    <td><bean:message key="label.register.certificationname"/></td>
  </tr>
  <tr>
    <td height="29"><bean:message key="label.register.sex"/>:</td>
    <td width="108"><label>
      <input type="radio" name="sex" value="男" checked>
      <bean:message key="label.register.male"/></label></td>
    <td width="125"><label>
      <input type="radio" name="sex" value="女">
    <bean:message key="label.register.female"/></label></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td height="33"><bean:message key="label.register.certificationtype"/>:</td>
    <td colspan="2"><label>
      <select name="certificationType">
        <option><bean:message key="label.register.idcard"/></option>
        <option><bean:message key="label.register.passport"/></option>
        <option><bean:message key="label.register.other"/></option>
      </select>
    </label></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td height="32"><bean:message key="label.register.certificationcode"/>:</td>
    <td colspan="2">
      <input type="text" id="certificationCode" name="certificationCode" onblur="checkCertificationCode()">
      <span class="STYLE5">*</span></td>
    <td><div id="certificationcodediv" style="display:block"/></td>
  </tr>
  <tr>
    <td height="32" colspan="4"><div align="center">
      <html:submit><bean:message key="label.register.register"/></html:submit>
    </div></td>
  </tr>
  <tr>
    <td height="29" colspan="4"><div align="center">
      <input type="checkbox" name="checkbox" value="checkbox" />
    <bean:message key="label.register.serviceconfig"/></div></td>
  </tr>
  <tr>
    <td height="144" colspan="4"><label>
      <div align="center">
        <textarea name="textarea"><bean:message key="label.register.serviceprotocol"/></textarea>
        </div>
    </label></td>
  </tr>
</table>
</html:form>
</body>
</html:html>

⌨️ 快捷键说明

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