Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%@ page import="javax.servlet.http.*" language="java" contentType="text/html; charset=ISO-8859-1"
- pageEncoding="ISO-8859-1" errorPage="errorpage.jsp"%>
- <!DOCTYPE html>
- <html xmlns:height="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
- <title>Insert title here</title>
- <link rel="stylesheet" type="text/css" href="themes/theme.min.css" />
- <link rel="stylesheet" type="text/css" href="themes/jquery.mobile.icons.min.css" />
- <link rel="stylesheet" type="text/css" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile.structure-1.4.5.min.css" />
- <script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
- <script>
- $(document).bind("mobileinit", function(){
- $.extend( $.mobile , {
- pageLoadErrorMessage: "Error Happened, Please Try Again" });});
- </script>
- <script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
- <script type="text/javascript" src="/ProjectDB/canvasjs-1.7.0/canvasjs.min.js"></script>
- <link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
- <script src="//code.jquery.com/jquery-1.10.2.js"></script>
- <script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
- <link rel="stylesheet" href="/resources/demos/style.css">
- <link rel="stylesheet" type="text/css" href="css/dialogcss.css" />
- <link rel="stylesheet" type="text/css" href="css/iconscss.css" />
- <link rel="stylesheet" type="text/css" href="css/calendarcss.css" />
- </head>
- <body>
- <div data-role="page" id="login">
- <div data-role="header">
- <h1>Log In</h1>
- </div><!-- /header -->
- <div data-role="content">
- <script>
- var app = {};
- </script>
- <form action="/ProjectDB/Controller/login" method="post">
- Username: <input type="text" name="userName"> Password: <input
- type="passWord" name="passWord" size="20px"> <br>
- <input type="submit" value="login">
- <a href="/ProjectDB/Controller/registerpage" data-inline="true" data-role="button" data-icon="register" class="ui-nodisc-icon"> register</a>
- </form>
- </div>
- <%
- String userMessage = "";
- if (request.getAttribute("userMessage") != null)
- {
- userMessage = (String) request.getAttribute("userMessage");
- }
- %>
- <div id="userMessage" style="color:#E21E1E;text-align: center;" ><%=userMessage%></div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement