This repository has been archived on 2025-01-14. You can view files and clone it, but cannot push or open issues/pull-requests.
computer-web/src/main/webapp/addComputer.jsp

24 lines
783 B
Plaintext
Raw Normal View History

2024-12-21 01:42:43 +08:00
<%@ page contentType="text/html; charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Add Computer</title>
</head>
<body>
<h1>Add New Computer</h1>
<form action="/addComputer" method="post">
<label for="name">Name: </label><br>
<input type="text" id="name" name="name"><br><br>
<label for="price">Price: </label><br>
<input type="text" id="price" name="price"><br><br>
<label for="stock">Stock: </label><br>
<input type="text" id="stock" name="stock"><br><br>
<input type="submit" value="Add Computer">
</form>
<br>
<a href="/computerList">Back to List</a>
</body>
</html>