You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.0 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>添加公告</title>
</head>
<body>
<%-- 修改action路径 --%>
<form action="${pageContext.request.contextPath}/notice/add" method="post">
<table border="1" align="center" width="500">
<tr>
<td>公告ID</td>
<td><input type="text" name="nid" placeholder="请输入公告ID"></td>
</tr>
<tr>
<td>公告标题:</td>
<td><input type="text" name="title" placeholder="请输入公告标题"></td>
</tr>
<tr>
<td>公告内容:</td>
<td><textarea name="content" rows="5" cols="30"></textarea></td>
</tr>
<tr>
<td>发布时间:</td>
<td><input type="date" name="createTime"></td>
</tr>
<tr>
<td align="center" colspan="2">
<input type="submit" value="提交">
<input type="reset" value="重置">
</td>
</tr>
</table>
</form>
</body>
</html>