Advertisement
GameNCode

Student Login Check

Dec 24th, 2016
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
  2. pageEncoding="ISO-8859-1"%>
  3. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  5. <html>
  6. <head>
  7. <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  8. <link rel="stylesheet" type="text/css" href="Style.css">
  9. <title>Check</title>
  10. </head>
  11. <body id="center">
  12. <h1>
  13. <c:if test="${param.pass=='123456'}">
  14. Logged in Successfully!
  15. </c:if>
  16. <c:if test="${param.pass != '123456'}">
  17. Incorrect Password!
  18. </c:if>
  19. </h1>
  20. </body>
  21. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement