81,091
社区成员
发帖
与我相关
我的任务
分享
<form method="post" action="manage/test2.jsp" name="edit"><table height="100%" width="100%" cellspacing="0" cellpadding="0" border="1" align="center">
<tbody><tr align="center">
<td height="30"><input type="text" name="title" value="" size="98">
</td></tr>
<tr align="center">
<td height="30"><input type="text" name="date" value="" size="98">
</td></tr>
<tr align="center">
<td height="30"><strong>日期格式为“YYYY-MM-DD”<input type="submit" value="确定提交" name="editgnn"></strong>
</td></tr>
<tr align="center">
<td class="top"><textarea name="content" rows="60" cols="100"></textarea>
</td></tr>
</tbody></table>
</form>
<%
String new_title = new String(request.getParameter("title").getBytes("ISO8859-1"),"gbk");
String new_date = request.getParameter("date");
String new_content = new String(request.getParameter("content").getBytes("ISO8859-1"),"gbk");
//connect.updateLog(sql);
out.println(new_title);
out.println(new_date);
out.println(new_content);%>