📄 hyxwmodify.jsp~6~
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%@ page import="com.j2ee.func.news.*"%>
<%@ page import="java.util.Vector"%>
<%@ page import="java.lang.Integer" %>
<%
Vector vct=(Vector)request.getAttribute("vct");
NewsInfo nf=(NewsInfo)vct.firstElement();
%>
<script language="javascript">
function init(){
form1.type.value="<%=nf.getType()%>"
}
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<link href="css/indexcss.css" rel="stylesheet" type="text/css">
</head>
<body onload="init()">
<form name="form1" method="post" action="getallnewsservlet?type=save">
<table width="94%" border="0">
<tr>
<td height="46" colspan="2">标题:
<input name="title" type="text" id="title" value="<%=nf.getTitle()%>">
作者:
<input name="author" type="text" id="author" value="<%=nf.getAuthor()%>">
分类:
<select name="type" id="type">
<option selected>请选择</option>
<option value="国内新闻">国内新闻</option>
<option value="国际新闻">国际新闻</option>
<option value="企业动态">企业动态</option>
</select>
来源:
<input name="comefrom" type="text" id="comefrom"> </td>
</tr>
<tr>
<td width="7%" height="41">内容:</td>
<td width="93%" rowspan="2" valign="top"> <p>
<textarea name="content" cols="80" rows="40" id="content"><%=nf.getContent() %></textarea>
</p>
<p>
<input type="submit" name="Submit" value="提交">
</p></td>
</tr>
<tr>
<td height="574"> </td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -