嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300
本次赞助数额为: 2 元微信扫码支付:2 元
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
需在mysql自行创建 shopsystem数据库,然后新建表product,product包括这些列:p_id,p_type,p_name,p_price,p_quantity
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>添加新商品信息</title>
</head>
<body>
<center>
<form action="pre_insert2.jsp" method="post">
商品编号:<input type="text" name="p_id"/><br/>
商品类别:<input type="text" name="p_type"/><br/>
商品名称:<input type="text" name="p_name"/><br/>
商品价格:<input type="text" name="p_price"/><br/>
商品数量:<input type="text" name="p_quantity"/><br/>
图片路径:<input type="text" name="p_image"/><br/>
商品描述:<input type="text" name="p_description"/><br/>
<input type="submit" value="add"/>
<input type="reset" value="reset"/>
</form>
</center>
</body>
</html>