📄 60b8653fdc31001d139f992bfca89756
字号:
<%@ page language="java" pageEncoding="gb2312"%>
<%@ include file="/commons/taglibs.jsp"%>
<script language="javascript" src="js/calendar.js"></script>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>My JSP 'announcementForm.jsp' starting page</title>
<%@ include file="/commons/meta.jsp"%>
</head>
<body class="bodycolor" topmargin="5">
<table class="title1">
<tr>
<td class="Big">
<span class="big3"> 公告编辑</span>
</td>
</tr>
</table>
<br>
<html:form action="announcement.do?p=save" method="post">
<html:hidden property="id"/>
<html:hidden property="userId" value="${sessionScope.userId}"/>
<table cellspacing="1" class="tablestyle1" align="left"
cellpadding="3">
<tr>
<td nowrap class="TableHeader" colspan="4" align="left">
公告信息:
</td>
</tr>
<tr>
<td nowrap class="TableData" width="25%">
公告标题:
</td>
<td nowrap class="TableData">
<html:text property="postTitle" styleClass="SmallInput" size="15"
maxlength="100" /> <font color="red"><html:errors property="title"/> </font>
</td>
</tr>
<tr>
<td nowrap class="TableData" width="25%">
发布人:
</td>
<td nowrap class="TableData">
<html:text property="userName" styleClass="SmallInput" size="15" maxlength="100"
value="${requestScope.userName}" readonly="true"/>
</td>
</tr>
<tr>
<td nowrap class="TableData" width="25%">
发布时间:
</td>
<td nowrap class="TableData">
<html:text property="beginTime" styleClass="SmallInput" size="15"
maxlength="100" readonly="true" />
</td>
</tr>
<tr>
<td nowrap class="TableData" width="25%">
结束时间:
</td>
<td nowrap class="TableData">
<html:text property="endTime" styleClass="SmallInput" size="15"
maxlength="100" /><img src="${ctx }/images/calendar.gif" ondblClick="setday(createDate)"><font color="red"><html:errors property="endTime"/> </font>
</td>
</tr>
<tr>
<td nowrap class="TableData" width="25%">
发布:
</td>
<td nowrap class="TableData">
<html:select property="status" styleClass="SmallSelect">
<c:if
test="${announcementForm.status==1||(announcementForm.status==null)}">
<option value=1>
是
</option>
<option value=2>
否
</option>
</c:if>
<c:if test="${announcementForm.status==2}">
<option value=2>
否
</option>
<option value=1>
是
</option>
</c:if>
</html:select>
</td>
</tr>
<tr>
<td nowrap class="TableData" width="25%">
公告内容:
</td>
<td nowrap class="TableData">
<textarea name="postContent" class="SmallInput" rows="10"
cols="60">${announcementForm.postContent}</textarea> <font color="red"><html:errors property="contents"/> </font>
</td>
</tr>
<tr align="center">
<td nowrap class="TableData" colspan="5">
<input value="确定" type="submit" class="SmallButton" title="确定"
name="button" />
<input value="重填" type="reset" class="SmallButton" title="重填" />
</td>
</tr>
</table>
</html:form>
<br>
<br>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -