-
Notifications
You must be signed in to change notification settings - Fork 0
/
4.jsp
109 lines (106 loc) · 3.28 KB
/
4.jsp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<%
response.setHeader("Cache-Control","no-cache,no-store,must-revalidate");
response.setHeader("Pragma","no-cache");
response.setHeader("Expires","0");
%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<html>
<head>
<style>
.content {
position: fixed;
margin-left: 500px;
margin-top: 110px;
font-family: verdana;
padding-left: 50px ;
padding-right: 50px;
padding-top: 30px;
padding-bottom: 30px;
border: orange;
border-width: 5px;
border-style: solid;
background-color: powderblue;
}
.opt{
position: fixed;
top: 0;
left: 0;
right: 0;
padding-top: 25px;
padding-bottom: 15px;
}
</style>
<style>
body {
background : #7eb26d;
}
</style>
<style>
h4 {
font-size: 17px;
}
</style>
<meta charset="ISO-8859-1" />
<title>Page_4</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<%@page import = "java.sql.*"%>
<%@page import = "javax.sql.*"%>
<%@ page import="java.util.*" %>
<div class="opt" style="background: black">
<table>
<tr>
<td>
<button type="submit" style=" display:block; font-size: 16px; cursor: pointer; margin-left: 40px;" onclick="location.href='1.jsp'" >
<a href="1.jsp" style="text-decoration-line: none">
<i class="fa fa-home"></i>
<span>Home</span>
</a>
</button>
</td>
<td>
<%
if(session.getAttribute("userid")!=null)
{
%>
<button type="submit" style=" font-size: 16px; cursor: pointer; margin-left: 1200px;">
<a href="2.jsp" style="text-decoration-line: none">
<i class="fa fa-sign-out"></i>
<span>Logout</span>
</a>
</button>
</td>
<%
}
%>
</tr>
</table>
</div>
<div class="content">
<h3>Please fill details and requirements</h3>
<h4>
<form action="page4_helper.jsp" method="post">
Name <br />
<input type="text" name="buyerName" required /> <br />
Password <br />
<input type="password" name="password" required /> <br />
Area<br />
<input type="text" name="area" required /> <br />
Apartment Type <br />
<input type="text" name="apt_type" required /> <br />
Apartment Size<br />
<input type="text" name="apt_size" required /> <br />
No. of rooms<br />
<input type="text" name="nor" required /> <br />
Budget<br />
<input type="text" name="budget" required /> <br /><br />
<button type="submit" style=" display:block; font-size: 20px; cursor: pointer; margin-left: 60px; background: skyblue" >
<span>Continue </span>
</form>
</h4>
</div>
</body>
</html>