关于Servlet中的add的页面补充
作者:互联网
<%@ page language="java" import="java.util.*" pageEncoding="utf8"%> <% String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <base href="<%=basePath%>"> <title>添加页面</title> <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="expires" content="0"> <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> <meta http-equiv="description" content="This is my page"> <!-- <link rel="stylesheet" type="text/css" href="styles.css"> --> <style type="text/css"> body { margin: 0; padding: 0; box-sizing : border-box; } </style> </head> <body> <form action="open?act=add" method="post" > <table align="center" width="500px" border="2"> <tr> <td colspan="2" align="center"><h2>新增雨量监测信息</h2></td> </tr> <tr> <td>区域名称:</td> <td><input type="text" name="qymc" ></td> </tr> <tr> <td>监测时间:</td> <td><input type="text" name="jcsj">yyyy.MM.dd格式 </td> </tr> <tr> <td>雨量值(mm):</td> <td><input type="text" name="ylz" ></td> </tr> <tr> <td>监测站:</td> <td><input type="text" name="jcz" ></td> </tr> <tr> <td>站点地址:</td> <td><input type="text" name="zjdz" ></td> </tr> <tr> <td align="center" colspan="2"><input type="submit" value="保存"> <input type="reset" value="重置" ><a href="index.jsp"><input type="button" value="返回"></a> </td> </tr> </table> </form> </body> </html>
标签:box,border,yyyy,add,雨量,监测,Servlet,页面 来源: https://www.cnblogs.com/MARTWook/p/13353052.html