change.jsp 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <%@ page language="java" contentType="text/html; charset=utf-8"
  2. pageEncoding="utf-8"%>
  3. <%-- <% request.setCharacterEncoding("utf-8") ;%> --%>
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  5. <%-- <%
  6. int id = Integer.parseInt(request.getParameter("id"));
  7. int rootid = Integer.parseInt(request.getParameter("rootid"));
  8. %> --%>
  9. <html>
  10. <head>
  11. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  12. <title>输入信息</title>
  13. <style type="text/css">
  14. form{
  15. margin-top: 100px;
  16. color:red;
  17. }
  18. input{
  19. width:220px;
  20. height: 30px;
  21. }
  22. .sub:hover{
  23. background-color:#13954A;
  24. border: none;
  25. }
  26. h1{
  27. text-align:center;
  28. font-size:24px;
  29. color:skyblue;
  30. }
  31. .main{
  32. border-radius: 20px;
  33. width: 150px;
  34. height: 40px;
  35. text-align: center;
  36. font-size: 28px;
  37. text-decoration: none;
  38. border: solid;
  39. display: block;
  40. position: absolute;
  41. top: 85%;
  42. right: 8%;
  43. }
  44. .main:hover{
  45. background-color: skyblue;
  46. }
  47. </style>
  48. </head>
  49. <body>
  50. <h1>请输入修改的信息</h1>
  51. <form method="post" action="succChan.jsp" align="center">
  52. 设备名称:<input type="text" name="name" ><br><br>
  53. 数量:<input type="text" name="calssGrent"><br><br>
  54. 价格 : <input type="text" name="result" ><br><br>
  55. <table align="center">
  56. <tr>
  57. <td>
  58. <input type="submit" value="提交" class="sub">
  59. </td>
  60. </tr>
  61. </table>
  62. </form>
  63. <a href="test2.html" class="main">返回主页</a>
  64. </body>
  65. </html>
  66. </html>