123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <%@ page language="java" contentType="text/html; charset=utf-8"
- pageEncoding="utf-8"%>
- <%-- <% request.setCharacterEncoding("utf-8") ;%> --%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <%-- <%
- int id = Integer.parseInt(request.getParameter("id"));
- int rootid = Integer.parseInt(request.getParameter("rootid"));
- %> --%>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>输入信息</title>
- <style type="text/css">
- form{
- margin-top: 100px;
- color:red;
- }
- input{
- width:220px;
- height: 30px;
- }
- .sub:hover{
- background-color:#13954A;
- border: none;
- }
- .main{
- border-radius: 20px;
- width: 150px;
- height: 40px;
- text-align: center;
- font-size: 28px;
- text-decoration: none;
- border: solid;
- display: block;
- position: absolute;
- top: 85%;
- right: 8%;
- }
- .main:hover{
- background-color: skyblue;
- }
- h1{
- text-align:center;
- font-size:24px;
- color:skyblue;
- }
- </style>
- </head>
- <body>
- <h1>请输入添加的信息</h1>
- <form method="post" action="http://localhost:8080/devicemanagement/Add" align="center">
- 设备名称:<input type="text" name="name" ><br><br>
- 数量:<input type="text" name="grent"><br><br>
- 价格 : <input type="text" name="result" ><br><br>
- <table align="center">
- <tr>
- <td>
- <input type="submit" value="提交" class="sub">
- </td>
- </tr>
- </table>
- </form>
- <a href="test2.html" class="main">返回主页</a>
- </body>
- </html>
- </html>
|