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>Login Page</title>
- </head>
- <body>
- <form action="Login" method="POST">
- <center>
- <p>
- <table>
- <tr>
- <td align="right">Username: </td>
- <td><input type="text" id="user" name="user"></td>
- </tr>
- <tr>
- <td align="right">Password: </td>
- <td><input type="password" id="pass" name="pass"></td>
- </tr>
- <tr>
- <td colspan ="2" align="right"><input type="submit" id="btn" name="login" value="login"></td>
- </tr>
- </table>
- <p>Are you new? Register <a href="register.jsp">here.</a></p>
- </p>
- </center>
- </form>
- <c:if test ="${loginerror == 'yes'}">
- Invalid username and password
- </c:if>
- </body>
- </html>
Add Comment
Please, Sign In to add comment