Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
- pageEncoding="ISO-8859-1"%>
- <!DOCTYPE html>
- <html>
- <head>
- <style>
- tr{
- align:"right";
- }
- </style>
- <meta charset="ISO-8859-1">
- <title>Awesome to-do list</title>
- </head>
- <body>
- <form action="Login" method="post" >
- <table align="center" >
- <tr><th>Username: </th><td><input type="text" name="username"></td></tr>
- <tr><th>Password: </th><td><input type="text" name="password"></td></tr>
- <tr><th></th><td align="right"><input type="submit" name="login" value="Login"></td></tr>
- </table>
- <p align="center">Are you new? Register <a href="register.jsp">here.</a></p>
- </form>
- <c:if test="${loginerror == 'yes' }">
- Invalid username and password</c:if>
- </body>
- </html>
Add Comment
Please, Sign In to add comment