×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: adi rasmadin
Added: Apr 8, 2018 1:43 AM
Views: 2984
Tags: no tags
  1. <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
  2.     pageEncoding="ISO-8859-1"%>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  4.  "http://www.w3.org/TR/html4/loose.dtd">
  5. <html>
  6. <head>
  7. <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  8. <title>Login Example</title>
  9. </head>
  10. <body>
  11. <form method="post" action="login.jsp">
  12. <center>
  13. <table border="2" width="30%" cellpadding="3">
  14. <thead>
  15. <tr>
  16. <th colspan="2">Login Example</th>
  17. </tr>
  18. </thead>
  19. <tbody>
  20. <tr><td>User Name</td>
  21. <td>
  22. <input type="text" name="username" value="" />
  23. </td>
  24. </tr>
  25. <tr>
  26. <td>Password</td>
  27. <td><input type="password" name="password" value="" /></td>
  28. </tr>
  29. <tr>
  30. <td><input type="submit" value="Login" /></td>
  31. <td><input type="reset" value="Reset" /></td>
  32. </tr>
  33. <tr>
  34. <td colspan="2">New User <a href="registerpage.jsp">Register Here</a></td>
  35. </tr>
  36. </tbody>
  37. </table>
  38. </center>
  39. </form>
  40. </body>
  41. </html>