60 lines
2.0 KiB
Plaintext
60 lines
2.0 KiB
Plaintext
<%@ page language="java" contentType="text/html; charset=GB18030"
|
|
pageEncoding="GB18030" import="java.sql.*"%>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<jsp:useBean id="info" class="com.DB" scope="page" />
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
|
|
<title>Insert title here</title>
|
|
</head>
|
|
<body>
|
|
<table width="985" height="548" border="0" cellpadding="0"
|
|
cellspacing="0">
|
|
<tr>
|
|
<td valign="top" background="../image/RIGHT.jpg"><table
|
|
width="985" height="50" border="0" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td> </td>
|
|
</tr>
|
|
</table> <%
|
|
String id=request.getParameter("id");
|
|
String sqlb="select * from gg where id='"+ id +"'";
|
|
ResultSet rs3=info.GetRs(sqlb);
|
|
if(rs3.next())
|
|
{
|
|
|
|
%>
|
|
<form id="form1" name="form1" method="post"
|
|
action="zixun_update.jsp">
|
|
<table width="493" border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td height="30" colspan="2" align="center">公告修改</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="40"> </td>
|
|
<td width="945" height="25">参数编号: <input name="id"
|
|
type="text" id="id" value="<%=id %>" readonly /></td>
|
|
</tr>
|
|
<tr>
|
|
<td> </td>
|
|
<td height="25">公告标题: <input name="Gg_titile" type="text"
|
|
id="Gg_titile" value="<%=rs3.getString("Gg_titile") %>" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td> </td>
|
|
<td height="25">公告内容: <textarea name="Gg_neirong" cols="40"
|
|
rows="3" id="Gg_neirong"><%=rs3.getString("Gg_neirong") %></textarea></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> </td>
|
|
<td height="35"> <input type="submit"
|
|
name="Submit" value="修改" /> <input type="button"
|
|
name="Submit2" value="放弃" onclick="history.back();" /></td>
|
|
</tr>
|
|
</table>
|
|
</form> <%} %></td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html> |