Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%@ page language="java" contentType="text/html; charset=UTF-8"
- pageEncoding="UTF-8"%>
- <%@ taglib prefix = "c" uri="http://java.sun.com/jsp/jstl/core" %>
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title>Awesome To-Do List</title>
- <style>
- </style>
- </head>
- <body>
- <div style="text-align:center;margin:25%;">
- <form action="Login" method="POST">
- <label for ="name">Username:</label>
- <input type="text" name = "username" id ="name"><br>
- <label for ="password" >Password:</label>
- <input type="password" name = "password" id = "password"><br>
- <input type="submit" value ="Login">
- </form>
- <p>Are you new here? Register <a href ="register.jsp" >here</a></p>
- <c:if test="${loginerror == 'yes'}">
- Invalid username and password
- </c:if>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement