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

📄 index.html

📁 用java编写的通讯录
💻 HTML
字号:
<%@page contentType= "text/html; charset = gb2312" %>
<html>
 <head>
 <title>注册页面</title>
<SCRIPT Language="javascript">
 function isValid(form)
  {
    if(form.username.value=="")
      {
         alert("登陆名不能为空!!");
               return false;
       }
    else if(form.password1.value!=form.password2.value)
      {
         alert("两次输入密码不同");
          return false;       
       } 
       
    else
    {return true}
    
   }
  </script> 
  </head>
 <body>
 <center>
  <form action="http://127.0.0.1:8080/jsp/adduser.jsp" method="post" onSubmit="return  isValid(this);">
  如果你还没有注册,请在此注册
  <br><br><br><br>
  用户名: &nbsp   
  <input type = text name = username>
  <br><br>
  密码: &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type = password name = password1>  
  <br>  
  确认密码:<input type = password name = password2>

  <br><br>
  
  <br>&nbsp &nbsp &nbsp&nbsp &nbsp &nbsp &nbsp &nbsp 
  <input type = submit value = "注册">
  <input type = submit value = "重置">  
  </form>
  <form action = "http://127.0.0.1:8080/jsp/test3.jsp" method="post"><br><br><br><br>如果你已注册,请在此登陆:<br><br><br>用户名:    
  <input type = text name = username>
  <br><br>
  密码:&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type = password name = password>
  <br><br>&nbsp &nbsp &nbsp&nbsp &nbsp &nbsp &nbsp &nbsp
  <input type = submit value = "登陆">
  <input type = submit value = "重置"> 
  </form>
  <br>
 </center>
</html>

⌨️ 快捷键说明

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