Untitled
unknown
plain_text
2 years ago
1.2 kB
6
Indexable
<%@page import="DAOs.ProductDAO"%>
<%@page import="Models.Product"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="java.sql.Date"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Add Product</title>
</head>
<body>
<h1>Add Product</h1>
<form action="addO.jsp" method="post">
<label for="pro_name">Product Name:</label>
<input type="text" id="pro_name" name="pro_name" required><br>
<label for="pro_quan">Product Quantity:</label>
<input type="number" id="pro_quan" name="pro_quan" required><br>
<label for="pro_price">Product Price:</label>
<input type="number" step="0.01" id="pro_price" name="pro_price" required><br>
<label for="pro_pic">Product Picture:</label>
<input type="text" id="pro_pic" name="pro_pic"><br>
<label for="pro_des">Product Description:</label>
<textarea id="pro_des" name="pro_des"></textarea><br>
<input type="submit" value="Add Product">
</form>
</body>
</html>
Editor is loading...