Yuvalxp8

Check (Fail/Success)

Jan 23rd, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.77 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="cssForTopBar.css">
  9.         <title>login Check</title>
  10.     </head>
  11.     <body id="center">
  12.         <h1>
  13.             <c:if test="${param.pass=='123456'}">
  14.                 Successfully Logged In
  15.             </c:if>
  16.             <c:if test="${param.pass != '123456'}">
  17.                 Username Or Password Is Incorrect.
  18.                 <br>
  19.                 <a href="target.jsp">Go Back And Try Again</a>
  20.             </c:if>
  21.         </h1>
  22.             <br>
  23.             <br>
  24.     </body>
  25. </html>
Add Comment
Please, Sign In to add comment