Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
- <!DOCTYPE html>
- <html style=" background-color:#ffe6f2;">
- <head>
- <title>AWESOME TO-DO LIST</title>
- </head>
- <form action="Login" method="POST" style="text-align:center; background-color:#ffe6f2;">
- <div class="container" style="text-align:center; border:2px solid black; margin:20px; padding:10%;">
- <br>
- <h1 style="margin:20px;"><b>LOGIN HERE</b></h1>
- <br>
- <label for="username" style="margin:20px;"><b>Username</b></label>
- <input type="text" placeholder="Enter Username" name="username" required>
- <br>
- <br>
- <label for="password" style="margin:21px;"><b>Password</b></label>
- <input type="password" placeholder="Enter Password" name="password" required>
- <br>
- <br>
- <button type="submit" value="Login" >LOGIN</button>
- <br>
- <br>
- <a>Are you new? register</a> <a href="http://localhost:8080/awesometodolistaina/register.jsp">here</a>
- </div>
- </form>
- <c:if test="${loginerror=='yes'}">
- <small>invalid username and password</small>
- </c:if>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement