Advertisement
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"%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="ISO-8859-1">
- <title>Insert title here</title>
- </head>
- <body>
- <form action="Login" method="POST">
- <table>
- <tr>
- <td>Username:</td>
- <td><input type="text" name="username"></td>
- </tr>
- <tr>
- <td>Password:</td>
- <td><input type="password" name="password"></td>
- </tr>
- <tr>
- <td></td>
- <td><input type="submit" name="submit"></td>
- </tr>
- <tr></tr>
- <tr>
- <td></td>
- <td>Are you new? Register <a href="register.jsp">here</a></td>
- </tr>
- </table>
- </form>
- <c:if test="${loginerror == 'yes' }">
- Invalid username and password
- </c:if>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement