-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAddCustomerForm.jsp
More file actions
65 lines (60 loc) · 1.58 KB
/
Copy pathAddCustomerForm.jsp
File metadata and controls
65 lines (60 loc) · 1.58 KB
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
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Add Customer</title>
</head>
<body>
<h2>Add Customer</h2>
<!-- Form for adding customer -->
<form action="add_customer.jsp">
<table border="1">
<tr>
<th colspan="2">Enter Customer Data:</th>
</tr>
<!-- getting customer name -->
<tr>
<td>Customer Name:</td>
<td>
<div style="text-align: center;">
<input type="text" name="customer_name" />
</div>
</td>
</tr>
<!-- getting customer address-->
<tr>
<td>Customer Address:</td>
<td>
<div style="text-align: center;">
<input type="text" name="customer_address" />
</div>
</td>
</tr>
<!-- getting customer category -->
<tr>
<td>Customer Category:</td>
<td>
<div style="text-align: center;">
<input type="text" name="customer_category" />
</div>
</td>
</tr>
<!-- Buttons for clearing form and executing -->
<tr>
<td>
<div style="text-align: center;">
<input type="reset" value="Clear" />
</div>
</td>
<td>
<div style="text-align: center;">
<input type="submit" value="Insert" />
</div>
</td>
</tr>
</table>
</form>
</body>
</html>