dele.jsp 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. .main{
  27. border-radius: 20px;
  28. width: 150px;
  29. height: 40px;
  30. text-align: center;
  31. font-size: 28px;
  32. text-decoration: none;
  33. border: solid;
  34. display: block;
  35. position: absolute;
  36. top: 85%;
  37. right: 8%;
  38. }
  39. .main:hover{
  40. background-color: skyblue;
  41. }
  42. h1{
  43. text-align:center;
  44. font-size:24px;
  45. color:skyblue;
  46. }
  47. </style>
  48. </head>
  49. <body>
  50. <h1>请输入删除的信息</h1>
  51. <form method="post" action="succDele.jsp" align="center">
  52. 设备名称:<input type="text" name="name" ><br><br>
  53. <table align="center">
  54. <tr>
  55. <td>
  56. <input type="submit" value="提交" class="sub">
  57. </td>
  58. </tr>
  59. </table>
  60. </form>
  61. <a href="test2.html" class="main">返回主页</a>
  62. </body>
  63. </html>
  64. </html>