📄 bgroll.jsp
字号:
<%@ page language="java" import="com.model.entity.NewsInfo"
pageEncoding="UTF-8"%>
<%
NewsInfo newsInfo = (NewsInfo) request.getAttribute("queryNews");
%>
<%
if (session.getAttribute("userInfo") == null) {
response.sendRedirect(request.getContextPath() + "/login.jsp");
}
%>
<html>
<head>
<style type="text/css">
td img {display: block;}body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-image: url(jsp/images/bei.gif);
}
.bai25 {
font-family: "宋体";
font-size: 12px;
line-height: 25px;
font-weight: bold;
color: #FFFFFF;
}
</style>
<!--Fireworks 8 Dreamweaver 8 target. Created Wed Sep 05 13:51:49 GMT+0800 2007-->
<link href="<%=request.getContextPath()%>/jsp/css/css.css"
rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
a:link {
color: #666666;
text-decoration: none;
}
a:visited {
color: #666699;
text-decoration: none;
}
a:hover {
color: #003399;
text-decoration: none;
}
a:active {
color: #FF0000;
text-decoration: none;
}
-->
</style>
<script language="javascript">
function subchk() {
var content = insertForm.content.value;
if(content.length >1000){
alert("内容不能大于1000");
return;
}
document.insertForm.submit();
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<table width="500 border=" 0" align="center" cellpadding="0"
cellspacing="0">
<tr>
<jsp:include flush="true" page="../include/backTop.jsp" />
</tr>
<tr>
<td height="1000" colspan="2" align="center" valign="top"
bgcolor="#FFFFFF">
<table height="100" width="780" border="0" align="center"
cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<form action="<%=request.getContextPath() %>/rollup.do?newsId=<%=newsInfo.getNewsId()%>" method="post" name="insertForm">
<tr>
<td align="center" valign="top" class="css">
<textarea name="content" cols="60" rows="15"><%=newsInfo.getContent().getSubString(1,(int) newsInfo.getContent().length())%></textarea>
</td>
</tr>
<tr align="middle">
<td height="30" colspan="4" class="css">
<input name="button" type="button" class="unnamed5"
onClick="javascript:history.go(-1)" value=" 返 回 " />
<input class="unnamed5" type="button" value=" 上 传 " name="Submit" onClick="subchk();"/>
</td>
</tr>
</form>
</table>
</td>
</tr>
<tr>
<jsp:include flush="true" page="../include/foot.jsp" />
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -