regist.jsp 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <%--
  2. Created by IntelliJ IDEA.
  3. User: x'b'w
  4. Date: 2021/6/25
  5. Time: 14:22
  6. To change this template use File | Settings | File Templates.
  7. --%>
  8. <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  9. <html>
  10. <head>
  11. <title>Title</title>
  12. <base href="http://localhost:8090/TestServlet10_war_exploded/">
  13. <link type="text/css" rel="stylesheet" href="static/css/style.css">
  14. <script type="text/javascript" src="static/script/jquery-1.7.2.js"></script>
  15. <style type="text/css">
  16. .login_form{
  17. height:420px;
  18. margin-top: 25px;
  19. }
  20. </style>
  21. </head>
  22. <body>
  23. <div id="login_header">
  24. <img class="logo_img" alt="" src="static/img/img01.jpg" >
  25. </div>
  26. <div class="login_banner">
  27. <div id="l_content">
  28. <span class="login_word">欢迎注册</span>
  29. </div>
  30. <div id="content">
  31. <div class="login_form">
  32. <div class="login_box">
  33. <div class="tit">
  34. <h1>注册会员</h1>
  35. <span class="errorMsg">
  36. <%-- <%=request.getAttribute("msg")==null?"":request.getAttribute("msg")%>--%>
  37. ${requestScope.msg}
  38. </span>
  39. </div>
  40. <div class="form">
  41. <form action="userServlet" method="post">
  42. <input type="hidden" name="action" value="regist">
  43. <label>用户名称:</label>
  44. <input class="itxt" type="text" placeholder="请输入用户名"
  45. value="${requestScope.username}"
  46. autocomplete="off" tabindex="1" name="username" id="username"/>
  47. <br />
  48. <br />
  49. <label>用户密码:</label>
  50. <input class="itxt" type="password" placeholder="请输入密码" autocomplete="off" tabindex="1" name="password" id="password" />
  51. <br />
  52. <br />
  53. <label>确认密码:</label>
  54. <input class="itxt" type="password" placeholder="确认密码" autocomplete="off" tabindex="1" name="repwd" id="repwd" />
  55. <br />
  56. <br />
  57. <label>电子邮件:</label>
  58. <input class="itxt" type="text" placeholder="请输入邮箱地址"
  59. value="${requestScope.email}"
  60. autocomplete="off" tabindex="1" name="email" id="email" />
  61. <br />
  62. <br />
  63. <label>验证码:</label>
  64. <input class="itxt" type="text" name="code" style="width: 150px;" id="code"/>
  65. <img alt="" src="static/img/code.bmp" style="float: right; margin-right: 40px">
  66. <br />
  67. <br />
  68. <input type="submit" value="注册" id="sub_btn" />
  69. </form>
  70. </div>
  71. </div>
  72. </div>
  73. </div>
  74. </div>
  75. <div id="bottom">
  76. <span>
  77. www.sziit.edu.cn
  78. </span>
  79. </div>
  80. </body>
  81. </html>