📄 listnews.jsp
字号:
<%@ page contentType="text/html; charset=GBK" language="java" buffer="32kb"%>
<%@ page import="dreamtime.dreamnews.*"%>
<%@ include file="Session.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<link href="css/bodystyle.css" rel="stylesheet" type="text/css">
<script src="js/post.js"></script>
<script src="js/news.js"></script>
<title>管理新闻列表</title></head>
<body>
<%
request.setCharacterEncoding("GBK"); //设置编码方式为GBK
News news = new News();
Function Fun = new Function();
String strPage = request.getParameter("intPage");
String sPage = request.getContextPath() + request.getServletPath() + "?";
String sOK = news.ListNews(sPage,strPage);
if (sOK.equals("No"))
{
out.println(Fun.OutError("读取新闻列表操作出错!"));
}
else
{
out.println(sOK);
}
%>
<br><br>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -