Advertisement
hyunjeong

Untitled

Aug 29th, 2019
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.87 KB | None | 0 0
  1. 1. 로그인 jsp
  2.  
  3. <%@ page language="java" contentType="text/html; charset=UTF-8"
  4. pageEncoding="UTF-8"%>
  5. <html>
  6. <head>
  7. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  8. <title>JSP 게시판 웹사이트</title>
  9. <link rel="stylesheet" href="css/bootstrap.css">
  10. </head>
  11. <body>
  12. <nav class= "navbar navbar-default">
  13. <div class="navbar-header">
  14. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
  15. <span class="icon-bar"></span>
  16. <span class="icon-bar"></span>
  17. <span class="icon-bar"></span>
  18. </button>
  19. <a class="navbar-brand" href="main.jsp">JSP게시판 웹 사이트</a>
  20. </div>
  21. <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
  22. <ul class="nav navbar-nav">
  23. <li><a href="main.jsp">메인</a></li>
  24. <li><a href="bbs.jsp">게시판</a></li>
  25. </ul>
  26. <ul class="nav navbar-nav navbar-right">
  27. <li class="dropdown">
  28. <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
  29. aria-haspopup="true" aria-expanded="false" >
  30. 접속하기<span class=caret></span>
  31. </a>
  32. <ul class="dropdown-menu">
  33. <li><a href="login.jsp">로그인</a></li>
  34. <li class="active"><a href="join.jsp">회원가입</a></li>
  35. </ul>
  36. </li>
  37. </ul>
  38. </div>
  39. </nav>
  40. <div class="container">
  41. <div class="col-lg-4"></div>
  42. <div class="col-lg-4">
  43. <div class="jumbotron" style="padding-top:20px;">
  44. <form method="post" action="joinAction.jsp">
  45. <h3 style="text-align-center;">회원가입 화면</h3>
  46. <div class="form-group">
  47. <input type="text" class="form-control" placeholder="아이디" name="userId" maxlength="20">
  48. </div>
  49. <div class="form-group">
  50. <input type="password" class="form-control" placeholder="비밀번호" name="userPassword" maxlength="20">
  51. </div>
  52. <div class="form-group">
  53. <input type="text" class="form-control" placeholder="이름" name="userName" maxlength="20">
  54. </div>
  55. <div class="form-group" style="text-align:center;">
  56. <div class="btn-group" data-toggle="buttons">
  57. <label class="btn btn-primary active">
  58. <input type="radio" name="userGender" autocomplete="off" value="남자" checked>남자
  59. </label>
  60. <label class="btn btn-primary active">
  61. <input type="radio" name="userGender" autocomplete="off" value="여자" checked>여자
  62. </label>
  63. </div>
  64. </div>
  65. <div class="form-group">
  66. <input type="Email" class="form-control" placeholder="이메일" name="userEmail" maxlength="20">
  67. </div>
  68. <input type="submit" class="btn btn-primary form-control" value="회원가입">
  69. </form>
  70. </div>
  71. </div>
  72. </div>
  73. <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
  74. <script src="js/bootstrap.js"></script>
  75. </body>
  76. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement